Skip to content

Add Follow-Up Queries to Suggest Queries Mode#53

Merged
CShorten merged 5 commits into
mainfrom
follow-up-suggest-queries
Jul 16, 2026
Merged

Add Follow-Up Queries to Suggest Queries Mode#53
CShorten merged 5 commits into
mainfrom
follow-up-suggest-queries

Conversation

@CShorten

Copy link
Copy Markdown
Member

Example Usage:

const suggestions = await qa.suggestQueries({
  conversation: [
    { role: "user", content: "What topics are covered?" },
    { role: "assistant", content: "The collection covers ML and economics." },
  ],
});

console.log(suggestions.queries);

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@CShorten
CShorten force-pushed the follow-up-suggest-queries branch from ebf3b8e to 51e4dbe Compare May 26, 2026 12:13
Allow users to pass prior chat history so that suggested queries are
contextualised as follow-up questions.
@CShorten
CShorten force-pushed the follow-up-suggest-queries branch from 51e4dbe to bc36cf9 Compare May 26, 2026 12:14
@CShorten CShorten self-assigned this May 26, 2026
@CShorten
CShorten marked this pull request as ready for review May 26, 2026 12:54
@CShorten
CShorten requested a review from a team May 26, 2026 12:55
Resolve conflicts in src/query/agent.test.ts by keeping both the
suggest-queries conversation tests from this branch and the ask-mode
structured output tests from main.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@CShorten
CShorten merged commit 48c7dcc into main Jul 16, 2026
5 checks passed
@CShorten
CShorten deleted the follow-up-suggest-queries branch July 16, 2026 16:57
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