Skip to content

fix: reuse query guide within a conversation - #34

Merged
Jmmt-mingrui merged 2 commits into
mainfrom
fix/query-guide-once
Aug 21, 2026
Merged

Jmmt-mingrui merged 2 commits into
mainfrom
fix/query-guide-once

Conversation

@Jmmt-mingrui

Copy link
Copy Markdown
Contributor

Summary

  • request get_query_guide only once before the first data query in each conversation context
  • reuse the returned guide across follow-up queries, database changes, workspace changes, and routing changes
  • request it again only after a new or reset context
  • avoid unsafe server-side session caching when one MCP connection serves multiple conversations
  • update server instructions, tool metadata, docs, and regression tests

Validation

  • 253 unit tests passed
  • offline test suite passed
  • Python compile check passed

@Jmmt-mingrui
Jmmt-mingrui merged commit d810239 into main Aug 21, 2026
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