mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-06-01 07:26:46 +00:00
Add GET /llm/model-suggestions endpoint that maps ProviderType to models.dev provider keys and returns chat model IDs from the tokenlens catalog. Lazy-loads catalog on first request to avoid empty results when engine hasn't started. Frontend ModelCombobox now fetches suggestions via useQuery with 30min cache instead of reading from hardcoded MODEL_SUGGESTIONS constant. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)