Fix examples/tool_calling_agent_ollama.py

This commit is contained in:
Aymeric Roucher 2025-01-06 14:59:21 +01:00 committed by GitHub
parent c3a11e09da
commit dbb8b7f5ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from typing import Optional
model = LiteLLMModel( model = LiteLLMModel(
model_id="ollama_chat/llama3.2", model_id="ollama_chat/llama3.2",
api_base="http://localhost:11434/v1", # replace with remote open-ai compatible server if necessary api_base="http://localhost:11434", # replace with remote open-ai compatible server if necessary
api_key="your-api-key" # replace with API key if necessary api_key="your-api-key" # replace with API key if necessary
) )