fix: revise dingus error message to surface context size issue; update changelog

This commit is contained in:
Iseult
2026-03-29 06:00:21 +08:00
parent d42d13e7f0
commit a66a46fc4a
2 changed files with 17 additions and 1 deletions

View File

@@ -528,7 +528,7 @@ export async function POST(request: NextRequest) {
console.error("Error processing request:", error);
const errorMessage =
"You dingus, read the directions on sucker before trying again.";
"You dingus, read the directions on sucker before trying again. If you're trying to suck a bot with more tokens than your current context limit, try bumping your Context Size setting up on Generation Settings.";
// Check if this was a streaming request
const acceptHeader = request.headers.get("accept");

View File

@@ -928,6 +928,22 @@ export default function Home() {
</DialogDescription>
</DialogHeader>
<div className="space-y-6">
<div>
<h3 className="font-semibold text-lg mb-2">Mar 2026 - Better error messaging for context size issues</h3>
<div className="space-y-2 text-sm text-muted-foreground">
<p>
Identified an issue where attempting to pull bots with token counts
greater than your configured context size would result in a dingus error
with no useful explanation.
</p>
<p>
Revised the error message to surface this more accurately. It now
tells you to bump your Context Size in Generation Settings if you
suspect this is the cause.
</p>
</div>
</div>
<Separator />
<div>
<h3 className="font-semibold text-lg mb-2">Jan 2026 - Direct image input</h3>
<div className="space-y-2 text-sm text-muted-foreground">