diff options
Diffstat (limited to 'src/ollama_web/llm.py')
| -rw-r--r-- | src/ollama_web/llm.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ollama_web/llm.py b/src/ollama_web/llm.py index 2839051..4951b36 100644 --- a/src/ollama_web/llm.py +++ b/src/ollama_web/llm.py @@ -326,7 +326,7 @@ def chat_with_tools( resp = cast(Any, raw_client).chat( model=model, messages=messages, - tools=effective_tools, + tools=[], think=effective_think, options=options or None, stream=False, @@ -596,7 +596,7 @@ def stream_chat_with_tools( stream = cast(Any, raw_client).chat( model=model, messages=messages, - tools=effective_tools, + tools=[], think=effective_think, options=options or None, stream=True, @@ -716,4 +716,4 @@ def _assistant_message_chunk(full_message: dict[str, Any]) -> Message | None: Message.ToolCall(function=Message.ToolCall.Function(name=name, arguments=args)) ) kwargs["tool_calls"] = tc_list - return Message(**kwargs)
\ No newline at end of file + return Message(**kwargs) |
