forked from phoenix/litellm-mirror
use api_base instead of custom_api_base
This commit is contained in:
parent
e6836985c8
commit
09ae510a58
9 changed files with 39 additions and 39 deletions
2
cookbook/liteLLM_Ollama.ipynb
vendored
2
cookbook/liteLLM_Ollama.ipynb
vendored
|
@ -88,7 +88,7 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"response = completion(model=\"llama2\", messages=messages, custom_api_base=\"http://localhost:11434\", custom_llm_provider=\"ollama\", stream=True)\n",
|
||||
"response = completion(model=\"llama2\", messages=messages, api_base=\"http://localhost:11434\", custom_llm_provider=\"ollama\", stream=True)\n",
|
||||
"print(response)"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue