Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 19 Feb 08:38
· 38 commits to main since this release

[0.8.0]

Breaking Changes

Changed

  • Upgraded to casual-llm >= 0.6.0.
  • Change config structure to match casual-llm new client/model class structure
  • Improved logging across the framework.
  • ModelFactory now accepts a Config object in the constructor and get_model() takes only a model name. Previous API: ModelFactory() + get_model(name, model_config, client_configs). New API: ModelFactory(config) + get_model(name).
  • API key resolution is now handled by casual-llm via ClientConfig.name. Lookup order: explicit api_key in config > {CLIENT_NAME.upper()}_API_KEY env var > provider default env var (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY).
  • Provider strings are passed directly to casual-llm's ClientConfig instead of being mapped to an enum. casual-llm handles string-to-enum coercion internally.
  • McpClientConfig.provider type relaxed from Literal["openai", "ollama", "anthropic"] to str for forward compatibility with new providers.

Added

  • casual-mcp migrate-config CLI command to migrate legacy config files (with provider/endpoint in models) to the new clients/models format.

Removed

  • PROVIDER_MAP dict (no longer needed since casual-llm accepts provider strings).
  • API_KEY_ENV_VARS dict and manual os.getenv() API key lookup (now handled by casual-llm).
  • Auto-migration of legacy config at load time. Use casual-mcp migrate-config instead.