mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
Litellm ollama refactor (#7162)
* 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 * fix: fix init.py
This commit is contained in:
parent
6c6834dde7
commit
e9fbefca5d
11 changed files with 322 additions and 235 deletions
|
@ -88,7 +88,6 @@ from .llms import (
|
|||
baseten,
|
||||
maritalk,
|
||||
nlp_cloud,
|
||||
ollama,
|
||||
ollama_chat,
|
||||
oobabooga,
|
||||
openrouter,
|
||||
|
@ -115,6 +114,7 @@ from .llms.databricks.chat.handler import DatabricksChatCompletion
|
|||
from .llms.databricks.embed.handler import DatabricksEmbeddingHandler
|
||||
from .llms.groq.chat.handler import GroqChatCompletion
|
||||
from .llms.huggingface_restapi import Huggingface
|
||||
from .llms.ollama.completion import handler as ollama
|
||||
from .llms.openai.transcriptions.handler import OpenAIAudioTranscription
|
||||
from .llms.openai.chat.o1_handler import OpenAIO1ChatCompletion
|
||||
from .llms.openai.completion.handler import OpenAITextCompletion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue