Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for customizing “tool_choice” in OpenAI
The ModelSettings class uses a TypedDict as its underlying type, providing flexibility to add options beyond the predefined attributes. Before generating chat completions, the code now checks if tool_choice is set in ModelSettings and applies it accordingly. Fixes: #224 Signed-off-by: Sébastien Han <seb@redhat.com>
- Loading branch information