mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
[JUNE 25] Permanent failover to Flash model for OAuth users after persistent 429 errors (#1376)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
This commit is contained in:
parent
4bf18da2b0
commit
e356949d3f
16 changed files with 837 additions and 12 deletions
|
|
@ -171,7 +171,7 @@ export const useSlashCommandProcessor = (
|
|||
[addMessage],
|
||||
);
|
||||
|
||||
const savedChatTags = async function () {
|
||||
const savedChatTags = useCallback(async () => {
|
||||
const geminiDir = config?.getProjectTempDir();
|
||||
if (!geminiDir) {
|
||||
return [];
|
||||
|
|
@ -186,7 +186,7 @@ export const useSlashCommandProcessor = (
|
|||
} catch (_err) {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
}, [config]);
|
||||
|
||||
const slashCommands: SlashCommand[] = useMemo(() => {
|
||||
const commands: SlashCommand[] = [
|
||||
|
|
@ -992,6 +992,7 @@ Add any other context about the problem here.
|
|||
addMemoryAction,
|
||||
addMessage,
|
||||
toggleCorgiMode,
|
||||
savedChatTags,
|
||||
config,
|
||||
showToolDescriptions,
|
||||
session,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue