diff --git a/docs/my-website/docs/providers/ollama.md b/docs/my-website/docs/providers/ollama.md index ec2a231e11..1c913c08c8 100644 --- a/docs/my-website/docs/providers/ollama.md +++ b/docs/my-website/docs/providers/ollama.md @@ -1,5 +1,5 @@ # Ollama -LiteLLM supports all models from [Ollama](https://github.com/jmorganca/ollama) +LiteLLM supports all models from [Ollama](https://github.com/ollama/ollama) Open In Colab @@ -97,7 +97,7 @@ response = completion( print(response) ``` ## Ollama Models -Ollama supported models: https://github.com/jmorganca/ollama +Ollama supported models: https://github.com/ollama/ollama | Model Name | Function Call | |----------------------|----------------------------------------------------------------------------------- diff --git a/docs/my-website/docs/proxy/quick_start.md b/docs/my-website/docs/proxy/quick_start.md index 8c7d1c0664..a7ca4743bc 100644 --- a/docs/my-website/docs/proxy/quick_start.md +++ b/docs/my-website/docs/proxy/quick_start.md @@ -438,7 +438,7 @@ In the [config.py](https://continue.dev/docs/reference/Models/openai) set this a ), ``` -Credits [@vividfog](https://github.com/jmorganca/ollama/issues/305#issuecomment-1751848077) for this tutorial. +Credits [@vividfog](https://github.com/ollama/ollama/issues/305#issuecomment-1751848077) for this tutorial. @@ -551,4 +551,3 @@ No Logs ```shell export LITELLM_LOG=None ``` - diff --git a/docs/my-website/docs/proxy_server.md b/docs/my-website/docs/proxy_server.md index 9c335f2a24..87d30e16d6 100644 --- a/docs/my-website/docs/proxy_server.md +++ b/docs/my-website/docs/proxy_server.md @@ -435,7 +435,7 @@ In the [config.py](https://continue.dev/docs/reference/Models/openai) set this a ), ``` -Credits [@vividfog](https://github.com/jmorganca/ollama/issues/305#issuecomment-1751848077) for this tutorial. +Credits [@vividfog](https://github.com/ollama/ollama/issues/305#issuecomment-1751848077) for this tutorial. @@ -815,4 +815,3 @@ Thread Stats Avg Stdev Max +/- Stdev - [Community Discord 💭](https://discord.gg/wuPM9dRgDw) - Our numbers 📞 +1 (770) 8783-106 / ‭+1 (412) 618-6238‬ - Our emails ✉️ ishaan@berri.ai / krrish@berri.ai - diff --git a/docs/my-website/docs/simple_proxy_old_doc.md b/docs/my-website/docs/simple_proxy_old_doc.md index 9dcb277972..195728d1be 100644 --- a/docs/my-website/docs/simple_proxy_old_doc.md +++ b/docs/my-website/docs/simple_proxy_old_doc.md @@ -310,7 +310,7 @@ In the [config.py](https://continue.dev/docs/reference/Models/openai) set this a ), ``` -Credits [@vividfog](https://github.com/jmorganca/ollama/issues/305#issuecomment-1751848077) for this tutorial. +Credits [@vividfog](https://github.com/ollama/ollama/issues/305#issuecomment-1751848077) for this tutorial. @@ -1351,5 +1351,3 @@ LiteLLM proxy adds **0.00325 seconds** latency as compared to using the Raw Open ```shell litellm --telemetry False ``` - - diff --git a/litellm/llms/ollama.py b/litellm/llms/ollama.py index 612a8c32e5..779896abfd 100644 --- a/litellm/llms/ollama.py +++ b/litellm/llms/ollama.py @@ -20,7 +20,7 @@ class OllamaError(Exception): class OllamaConfig: """ - Reference: https://github.com/jmorganca/ollama/blob/main/docs/api.md#parameters + Reference: https://github.com/ollama/ollama/blob/main/docs/api.md#parameters The class `OllamaConfig` provides the configuration for the Ollama's API interface. Below are the parameters: @@ -69,7 +69,7 @@ class OllamaConfig: repeat_penalty: Optional[float] = None temperature: Optional[float] = None stop: Optional[list] = ( - None # stop is a list based on this - https://github.com/jmorganca/ollama/pull/442 + None # stop is a list based on this - https://github.com/ollama/ollama/pull/442 ) tfs_z: Optional[float] = None num_predict: Optional[int] = None diff --git a/litellm/llms/ollama_chat.py b/litellm/llms/ollama_chat.py index 11e08fb725..d442ba5aae 100644 --- a/litellm/llms/ollama_chat.py +++ b/litellm/llms/ollama_chat.py @@ -20,7 +20,7 @@ class OllamaError(Exception): class OllamaChatConfig: """ - Reference: https://github.com/jmorganca/ollama/blob/main/docs/api.md#parameters + Reference: https://github.com/ollama/ollama/blob/main/docs/api.md#parameters The class `OllamaConfig` provides the configuration for the Ollama's API interface. Below are the parameters: @@ -69,7 +69,7 @@ class OllamaChatConfig: repeat_penalty: Optional[float] = None temperature: Optional[float] = None stop: Optional[list] = ( - None # stop is a list based on this - https://github.com/jmorganca/ollama/pull/442 + None # stop is a list based on this - https://github.com/ollama/ollama/pull/442 ) tfs_z: Optional[float] = None num_predict: Optional[int] = None diff --git a/litellm/llms/prompt_templates/factory.py b/litellm/llms/prompt_templates/factory.py index 4492423f45..06faaf5574 100644 --- a/litellm/llms/prompt_templates/factory.py +++ b/litellm/llms/prompt_templates/factory.py @@ -62,7 +62,7 @@ def llama_2_chat_pt(messages): def ollama_pt( model, messages -): # https://github.com/jmorganca/ollama/blob/af4cf55884ac54b9e637cd71dadfe9b7a5685877/docs/modelfile.md#template +): # https://github.com/ollama/ollama/blob/af4cf55884ac54b9e637cd71dadfe9b7a5685877/docs/modelfile.md#template if "instruct" in model: prompt = custom_prompt( role_dict={