Skip to content

fix: forward source/tag scope through Cog_RAG.chat - #19

Closed
Frankie-Xu wants to merge 1 commit into
mainfrom
cursor/cog-rag-chat-scope-bd8a
Closed

Frankie-Xu wants to merge 1 commit into
mainfrom
cursor/cog-rag-chat-scope-bd8a

Conversation

@Frankie-Xu

Copy link
Copy Markdown
Owner

Problem

Cog_RAG.search already forwards source_ids / tags. Cog_RAG.chat calls self.search(...) without those kwargs. #161 is the AutoType / he talk path; a method/cog_rag instance uses this override.

Proposal

Add keyword-only source_ids and tags on Cog_RAG.chat and pass them through to self.search.

Closes yifanfeng97#170

Out of scope

  • graph_rag.py
  • CLI / MCP
Open in Web Open in Cursor 

Co-authored-by: Frankie-Xu <Frankie-Xu@users.noreply.github.com>
@Frankie-Xu Frankie-Xu closed this Sep 15, 2026
@Frankie-Xu

Copy link
Copy Markdown
Owner Author

Opened against the fork by mistake. Review PR: yifanfeng97#171

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.

fix: Cog_RAG.chat drops source_ids/tags that search already honors

1 participant