Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions packages/exchange/src/exchange/providers/ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
class OllamaProvider(OpenAiProvider):
"""Provides chat completions for models hosted by Ollama"""

__doc__ += f"""

Here's an example profile configuration to try:

ollama:
provider: ollama
processor: {OLLAMA_MODEL}
accelerator: {OLLAMA_MODEL}
moderator: passive
toolkits:
- name: developer
requires: {{}}
__doc__ += """Here's an example profile configuration to try:

First run: ollama pull qwen2.5, then use this profile:

ollama:
provider: ollama
processor: qwen2.5
accelerator: qwen2.5
moderator: truncate
toolkits:
- name: developer
requires: {}
"""

def __init__(self, client: httpx.Client) -> None:
Expand Down