mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Don't send tool_choice param
This commit is contained in:
1 file changed
-1
@@ -250,7 +250,6 @@ export class SessionManager {
|
||||
model,
|
||||
messages,
|
||||
tools: session.tools && Object.keys(session.tools).length > 0 ? Object.values(session.tools) : undefined,
|
||||
tool_choice: session.tools && Object.keys(session.tools).length > 0 ? 'auto' : undefined,
|
||||
stream: true,
|
||||
stream_options: {
|
||||
include_usage: true,
|
||||
|
||||
Reference in new issue
Block a user