Skip to content

Fix Yes/No response regression for web and images#62

Open
carmex wants to merge 1 commit into
mainfrom
fix/binary-responses-fix
Open

Fix Yes/No response regression for web and images#62
carmex wants to merge 1 commit into
mainfrom
fix/binary-responses-fix

Conversation

@carmex

@carmex carmex commented May 14, 2026

Copy link
Copy Markdown
Owner

This PR fixes a regression where GemBot failed to start responses with Yes. or No. for binary questions during web lookups and image generation.

Changes:

  • Added isBinaryQuestion utility in src/features/utils.ts.
  • Updated Summarizer.summarizeText to accept an optional systemPrompt.
  • Updated AIHandler to pass the system prompt to the summarizer for web lookups.
  • Updated AIHandler short-circuit logic for image generation to respect binary questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant