Skip to content

fix: detect OAI reasoning models, and have their temperatures fixed to 1.0 #653

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

Merged
merged 6 commits into from
May 15, 2025

Conversation

tybalex
Copy link
Contributor

@tybalex tybalex commented May 13, 2025

this will take care of obot-platform/obot#2862 (comment)

Also added o3 and o4 series models to chat models, removed o1-mini/o1-preview/o1-pro

@tybalex tybalex self-assigned this May 13, 2025
@tybalex tybalex changed the title fix: detect OAI reasoning models, and have their temperature == 1.0 fix: detect OAI reasoning models, and have their temperatures == 1.0 May 13, 2025
@tybalex tybalex changed the title fix: detect OAI reasoning models, and have their temperatures == 1.0 fix: detect OAI reasoning models, and have their temperatures fixed to 1.0 May 13, 2025
@tybalex tybalex requested a review from thedadams May 13, 2025 23:46
@tybalex tybalex merged commit e01ab09 into obot-platform:main May 15, 2025
2 checks passed
@tybalex tybalex deleted the reasoning-models-temperature branch May 15, 2025 01:59
tybalex added a commit to tybalex/otto8-tools that referenced this pull request May 17, 2025
…o 1.0 (obot-platform#653)

* fix: detect OAI reasoning models, and have their temperature == 1.0

* fix: remove o1 models(except o1 itself) from chat model list

* Update openai-model-provider/openaiproxy/proxy.go

Co-authored-by: Donnie Adams <[email protected]>

* Update openai-model-provider/openaiproxy/proxy.go

Co-authored-by: Donnie Adams <[email protected]>

* Update openai-model-provider/proxy/rewrite.go

Co-authored-by: Donnie Adams <[email protected]>

* Update proxy.go

---------

Co-authored-by: Donnie Adams <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants