Skip to content

fix(story): invalidate getLatest when agent run completes#738

Open
nehaaprasaad wants to merge 1 commit intogetnao:mainfrom
nehaaprasaad:fix/table-unv-str-comp
Open

fix(story): invalidate getLatest when agent run completes#738
nehaaprasaad wants to merge 1 commit intogetnao:mainfrom
nehaaprasaad:fix/table-unv-str-comp

Conversation

@nehaaprasaad
Copy link
Copy Markdown
Contributor

fix : #736

summary

  • Fixes story preview showing “Table data unavailable” after the assistant updates a story, plus small related fixes.

Changes

  • Invalidate story.getLatest when the agent run ends so queryData matches new table queryIds.
  • Parse API errors in chat UI as strings so nested OpenAI error objects do not crash React.
  • Use env API key / base URL when project LLM config stores an empty key (fallback for “use env” rows).

How to verify

  • Agent edits a story table → preview shows data without a full page reload.
  • Lint passes (npm run lint).

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

This PR was auto-closed. Only contributors approved with lgtm can open PRs. Open an issue first.

Maintainers review auto-closed issues daily. Issues that do not meet the quality bar in CONTRIBUTING.md will not be reopened or receive a reply.

If a maintainer replies lgtmi, your future issues will stay open. If a maintainer replies lgtm, your future issues and PRs will stay open.

See CONTRIBUTING.md.

@github-actions github-actions Bot closed this May 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

🚀 Preview Deployment

URL https://pr-738-a5839b1.preview.getnao.io
Commit a5839b1

⚠️ No LLM API keys configured - you'll see the API key setup flow when trying to chat.


Preview will be automatically removed when this PR is closed.

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.

[bug] "Table data unavailable" after story version updates existing table/component

2 participants