Replace function_call/functions with tool_choice/tools in the codebase
TengHu opened this issue · 0 comments
TengHu commented
Because OpenAI deprecates function_call in favor of tool_choice in the chat completion api (https://platform.openai.com/docs/api-reference/chat/create). We need to change all function_call/functions to tool_choice/tools in the codebase, mostly under llms/openai.