8000 Allow turning off `temperature` and `topp` completely · Issue #480 · charmbracelet/mods · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow turning off temperature and topp completely #480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gy-mate opened this issue Apr 17, 2025 · 3 comments
Open

Allow turning off temperature and topp completely #480

gy-mate opened this issue Apr 17, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@gy-mate
Copy link
Contributor
gy-mate commented Apr 17, 2025

Is your feature request related to a problem? Please describe.

I'd like to use the gpt-4o-search-preview model but I get this error when calling the API:

ERROR  openai API request error.  

error, status code: 400, status: 400 Bad Request, message: Model incompatible request arguments supplied: temperature, top_p

Describe the solution you'd like

An option to turn off temperature and topp arguments completely.

Describe alternatives you've considered

Removing these parameters from mods.yml. Didn't work.

Additional context

Implementing the Responses API after sashabaranov/go-openai#956 is closed would make the usage of web search much better.

@gy-mate gy-mate added the enhancement New feature or request label Apr 17, 2025
@caarlos0
Copy link
Member

#486 should handle this better I think

@caarlos0
Copy link
Member

clarifying: in there we are updating to the official openai lib, which should help fixing this.

@gy-mate
Copy link 6181
Contributor Author
gy-mate commented Apr 25, 2025

That's awesome, thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
0