Skip to content

fix: allow deepseek and openrouter providers in ModelConfig validation#180

Open
imnishantmehra wants to merge 1 commit intolemony-ai:mainfrom
imnishantmehra:fix/modelconfig-allow-deepseek-openrouter
Open

fix: allow deepseek and openrouter providers in ModelConfig validation#180
imnishantmehra wants to merge 1 commit intolemony-ai:mainfrom
imnishantmehra:fix/modelconfig-allow-deepseek-openrouter

Conversation

@imnishantmehra
Copy link
Copy Markdown

Description

Fix inconsistency in ModelConfig.validate_provider() where supported providers (deepseek, openrouter) were rejected during validation.

The allow-list in schema validation did not include these providers, even though they are supported in provider capabilities, registry, and used in examples. This caused valid user configurations to fail.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement

Testing

  • Tests pass locally (6/6 new tests passed)
  • Added new tests
  • Updated documentation
  • Ran formatting script

Test Results

pytest -o addopts= tests/test_model_config_provider_validation.py -v

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