tweak: gemini retry message to not be explicitly about gemini 3 (#4864)
Co-authored-by: jesuso <j.ochoa@norteconecta.net>
This commit is contained in:
parent
cf1f63eda3
commit
fa84612357
1 changed files with 1 additions and 1 deletions
|
|
@ -850,7 +850,7 @@ export function Prompt(props: PromptProps) {
|
||||||
const r = retry()
|
const r = retry()
|
||||||
if (!r) return
|
if (!r) return
|
||||||
if (r.message.includes("exceeded your current quota") && r.message.includes("gemini"))
|
if (r.message.includes("exceeded your current quota") && r.message.includes("gemini"))
|
||||||
return "gemini 3 way too hot right now"
|
return "gemini is way too hot right now"
|
||||||
if (r.message.length > 50) return r.message.slice(0, 50) + "..."
|
if (r.message.length > 50) return r.message.slice(0, 50) + "..."
|
||||||
return r.message
|
return r.message
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue