Skip to content
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

support for o1 OpenAI model #234

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Conversation

brainlid
Copy link
Owner

  • adds new "reasoning_mode". Sends "developer" role instead of "system" role.
  • adds support for "reasoning_effort" API option
  • refactors many of the for_api functions to include the model. The reasoning model changes how things are sent

Resolves issue #232

I don't have Tier 5 usage so I can't live-test this on an o1 model. It should work as far as I can tell.

- adds new "reasoning_mode". Sends "developer" role instead of "system" role.
- adds support for "reasoning_effort" API option
- refactors many of the for_api functions to include the model. The reasoning model changes how things are sent
@brainlid brainlid merged commit 45708db into main Jan 15, 2025
1 check passed
@brainlid brainlid deleted the me-support-openai-reasoning-effort branch January 15, 2025 03:43
brainlid added a commit to montebrown/langchain that referenced this pull request Jan 22, 2025
* main:
  feat: Support for Ollama keep_alive API parameter (brainlid#237)
  support for o1 OpenAI model (brainlid#234)
  minor test cleanup
  phi_4 chat template support fix after merge
  feat: apply chat template from callback (brainlid#231)
  Add Bumblebee Phi-4 (brainlid#233)
  updated changelog
  update version and docs outline (brainlid#229)
  fix: enable verbose_deltas (brainlid#197)
  feat: Enable :inet6 for Req.new (brainlid#227)
  Breaking change: consolidate LLM callback functions (brainlid#228)
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.

1 participant