mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
LiteLLM Common Base LLM Config (pt.4): Move Ollama to Base LLM Config (#7157)
* refactor(ollama/): refactor ollama `/api/generate` to use base llm config Addresses https://github.com/andrewyng/aisuite/issues/113#issuecomment-2512369132 * test: skip unresponsive test * test(test_secret_manager.py): mark flaky test * test: fix google sm test
This commit is contained in:
parent
3b5485a14e
commit
40a22eb4c6
11 changed files with 322 additions and 234 deletions
|
@ -78,7 +78,7 @@ def test_get_model_info_gemini_pro():
|
|||
|
||||
|
||||
def test_get_model_info_ollama_chat():
|
||||
from litellm.llms.ollama import OllamaConfig
|
||||
from litellm.llms.ollama.completion.transformation import OllamaConfig
|
||||
|
||||
with patch.object(
|
||||
litellm.module_level_client,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue