Skip to content

fix(sena-drawer): read answer from /v1/sena/chat (was reply, always empty) - #37

Merged
solsentry merged 1 commit into
mainfrom
fix/sena-drawer-answer-contract
Oct 7, 2026
Merged

solsentry merged 1 commit into
mainfrom
fix/sena-drawer-answer-contract

Conversation

@solsentry

Copy link
Copy Markdown
Owner

fix(sena-drawer): read answer from /v1/sena/chat

SenaDrawer read data.reply, but the backend contract is
{answer, grounded, source, model}, so the drawer always showed
"Received an empty response." It now reads answer and still accepts reply
for backward compatibility.

Checks: npx tsc --noEmit clean; eslint on the file shows only 2 pre-existing
warnings. The repo has no unit test script.

@solsentry
solsentry merged commit 6c6f3d1 into main Oct 7, 2026
2 checks passed
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.

2 participants