Skip to content

Reject unsupported LLM providers#1

Draft
schultzjack wants to merge 1 commit into
OpenConceptLab:mainfrom
schultzjack:fix/2582-llm-provider-options
Draft

Reject unsupported LLM providers#1
schultzjack wants to merge 1 commit into
OpenConceptLab:mainfrom
schultzjack:fix/2582-llm-provider-options

Conversation

@schultzjack

Copy link
Copy Markdown

Linked Issue

Closes OpenConceptLab/ocl_issues#2582

Summary

Adds a small provider normalization path for the MCP client chat route so unsupported LLM providers are rejected with a clear 400 error instead of falling through to Anthropic.

Also removes the currently unsupported Mistral, Gemini, and Ollama choices from the chat UI and aligns .env.example / README provider language with the providers that are wired in the app today.

Test Plan

  • python3 -m unittest tests.test_provider_config
  • python3 -m py_compile mcp-client/routes/providers.py mcp-client/routes/frontend.py

Notes

This intentionally does not add new provider implementations. It keeps the first fix limited to making the current UI/backend contract accurate; future PRs can add Mistral, Gemini, or Ollama with the required dependencies and model defaults.

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.

ocl-mcp-client: unsupported LLM provider choices fall back to Anthropic

2 participants