Skip to content

Support responses API for OpenAI models#13

Open
varunpandey23 wants to merge 2 commits into
mainfrom
scratch/support-responses-api
Open

Support responses API for OpenAI models#13
varunpandey23 wants to merge 2 commits into
mainfrom
scratch/support-responses-api

Conversation

@varunpandey23
Copy link
Copy Markdown
Collaborator

OpenAI models require using the responses API when using the effort parameter.

  • Infer whether to use responses API if effort is passed
  • Pass strict=False for tool calls, if using the responses API (Chat completion defaults to False; Responses defaults to True

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