Lee Jackson
62f906df13
Studio: API external provider registry + curated catalogs (HF/OpenRouter) and chat UX ( #4787 )
...
* fix: external models selectable in chat-only mode
* fix: model selector tabs default to active model kind
* feat(studio): expand provider registry, curated catalogs, and chat UX
- Add Hugging Face, Kimi, Qwen; remove Cohere; reorder registry
- model_list_mode curated for HF/OpenRouter; lightweight /models check
- API returns default models for curated providers; expose model_list_mode
- Frontend: provider logos in model picker, providerType on external models
- Chat providers dialog: curated vs remote flows, motion polish
- Thread: LayoutGroup + composer motion alignment with app easing
* fix(studio): disable Anthropic tool-calling flag and preselect curated defaults
* feat(studio): add external provider logos and ApiProviderLogo helper
2026-04-04 10:28:15 +04:00
Roland Tannous
15cf301a5f
fix: address PR review comments — system prompt visibility, retry loop, test logging
2026-04-01 18:19:09 +00:00
Roland Tannous
379a9c920f
review: add comments for manual iteration rationale, mask password in test print, clarify Anthropic URL/models support
2026-03-30 19:38:43 +00:00
pre-commit-ci[bot]
f86a567a72
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-03-30 19:23:46 +00:00
Roland Tannous
4e1d2756d7
Potential fix for code scanning alert no. 36: Clear-text logging of sensitive information
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-03-30 23:23:34 +04:00
pre-commit-ci[bot]
6b5fb1dcc8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-03-30 19:12:10 +00:00
Roland Tannous
5707754cec
increase vision test max_tokens to 215
2026-03-30 06:24:08 +00:00
Roland Tannous
f1f5fa97a9
fix gemini truncated reply (max_tokens 16->64) and suppress GeneratorExit on client disconnect
2026-03-30 06:22:30 +00:00
Roland Tannous
ae46ac2e07
add gemini-3-flash-preview as default gemini model
2026-03-30 06:16:41 +00:00
Roland Tannous
31beda9918
fix gemini vision test: download image as base64 data URI instead of remote URL
2026-03-30 06:10:14 +00:00
Roland Tannous
f3b28f2916
fix: update Mistral model to mistral-small-2506
2026-03-30 05:48:11 +00:00
Roland Tannous
b988033200
test: use sloth photo URL for vision test, add Anthropic remote URL support
2026-03-30 05:27:05 +00:00
Roland Tannous
15f836c820
feat: multimodal image support for external providers
...
- Add _build_external_messages() that preserves image_url parts for
vision-capable providers instead of stripping them
- Update _proxy_to_external_provider() to use new helper
- Translate image_url content parts to Anthropic native image format
in _stream_anthropic()
- Add TestVisionInference pytest class (1x1 PNG smoke test)
2026-03-30 05:18:02 +00:00
Roland Tannous
91ae9d0ccc
feat: remove together, fireworks, perplexity providers
2026-03-30 04:12:00 +00:00
Roland Tannous
70f488b0db
feat: rename google -> gemini, refresh model list to 2.5 series
2026-03-30 04:07:52 +00:00
Roland Tannous
6cf0a60087
feat: add DeepSeek provider (deepseek-chat, deepseek-reasoner)
2026-03-30 01:56:52 +00:00
Roland Tannous
a792f516aa
feat: add native Anthropic provider with Messages API translation
2026-03-29 19:47:54 +00:00
Roland Tannous
c7c0a4ae9e
feat: add OpenRouter as 8th provider
2026-03-29 19:32:42 +00:00
Roland Tannous
10e2b5fdef
fix: update Cohere models to current (command-r retired Sept 2025)
2026-03-29 18:55:39 +00:00
Roland Tannous
6da557ea6a
fix tests: default port 8000, allow 400 for no-model-loaded
2026-03-29 18:49:04 +00:00
Roland Tannous
0e11b721ba
fix auth fixture: handle forced password change on fresh install
2026-03-29 18:37:03 +00:00
Roland Tannous
4656e63374
studio: add external provider support for chat inference
...
Adds the ability to connect to OpenAI, Mistral, Google, Cohere, Together,
Fireworks, and Perplexity from the Studio chat interface.
- Provider configs stored in SQLite (no API keys persisted)
- RSA-2048 key pair generated at startup for client-side key encryption
- httpx proxy client streams SSE responses in OpenAI-compatible format
- New /api/providers routes: registry, CRUD, test, models
- /v1/chat/completions routes to external provider when provider fields present
- Integration test suite covering CRUD, connection, model listing, and inference
- Frontend spec doc with full API contract
2026-03-29 18:12:45 +00:00