mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user