Skip to content

Add support for OllamaChatCompletionClient to WELL_KNOWN_PROVIDERS #6709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Z1m4-blu3
Copy link

@Z1m4-blu3 Z1m4-blu3 commented Jun 21, 2025

Discrepancy between the Autogen documentation for Ollama and the actual functionality of ChatCompletionClient.load_component.

Currently, attempting to follow the documented example:

from autogen_core.models import ChatCompletionClient

config = {
    "provider": "OllamaChatCompletionClient",
    "config": {"model": "llama3"},
}

client = ChatCompletionClient.load_component(config)

raises an error because "OllamaChatCompletionClient" is not registered in WELL_KNOWN_PROVIDERS.

Related issue number

Checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant