mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
feat(model): add favorites system for model selection (#201)
* fix: sync model selection with OpenCode state * feat(model): add favorites system for model selection - Add toggleFavoriteModel API endpoint - Add favorite toggle UI in ModelQuickSelect and ModelSelectDialog - Show provider name prefix when model display names are ambiguous - Fix directory scoping for getProviders API calls feat(assistant): send welcome message on new session creation - Send setup guidance message when creating new assistant session --------- Co-authored-by: Chris Scott <>
This commit is contained in:
1 parent
3dd8e34f98
commit
e6ff8733cf
11 files changed
+470
-80
No files matched your search
@@ -937,7 +937,7 @@ if (isIOS && isSecureContext && navigator.clipboard && navigator.clipboard.read)
|
||||
const client = useOpenCodeClient(opcodeUrl, directory)
|
||||
const { data: providersData } = useQuery({
|
||||
queryKey: ['opencode', 'providers', opcodeUrl, directory],
|
||||
queryFn: () => getProviders(),
|
||||
queryFn: () => getProviders(directory),
|
||||
enabled: !!client,
|
||||
staleTime: 30000,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user