docs: working ollama for desktop (#125)
This commit is contained in:
@@ -12,18 +12,18 @@ OLLAMA_MODEL = "mistral-nemo"
|
|||||||
class OllamaProvider(OpenAiProvider):
|
class OllamaProvider(OpenAiProvider):
|
||||||
"""Provides chat completions for models hosted by Ollama"""
|
"""Provides chat completions for models hosted by Ollama"""
|
||||||
|
|
||||||
__doc__ += f"""
|
__doc__ += """Here's an example profile configuration to try:
|
||||||
|
|
||||||
Here's an example profile configuration to try:
|
First run: ollama pull qwen2.5, then use this profile:
|
||||||
|
|
||||||
ollama:
|
ollama:
|
||||||
provider: ollama
|
provider: ollama
|
||||||
processor: {OLLAMA_MODEL}
|
processor: qwen2.5
|
||||||
accelerator: {OLLAMA_MODEL}
|
accelerator: qwen2.5
|
||||||
moderator: passive
|
moderator: truncate
|
||||||
toolkits:
|
toolkits:
|
||||||
- name: developer
|
- name: developer
|
||||||
requires: {{}}
|
requires: {}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, client: httpx.Client) -> None:
|
def __init__(self, client: httpx.Client) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user