Fix examples/tool_calling_agent_ollama.py
This commit is contained in:
parent
c3a11e09da
commit
dbb8b7f5ce
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue