Skip to content

Conversation

@ericpgreen2
Copy link
Contributor

@ericpgreen2 ericpgreen2 commented Dec 12, 2025

For review. Not to merge to main. Open to feedback!

@ericpgreen2 ericpgreen2 self-assigned this Dec 12, 2025
@ericpgreen2 ericpgreen2 changed the title Plan for citations refactor Tech design: AI citations refactor Dec 17, 2025
@ericpgreen2 ericpgreen2 marked this pull request as ready for review December 17, 2025 03:18
Change analyst agent instructions to use the XML-style cite syntax:

```diff
- Every 'query_metrics_view' result includes an 'open_url' field - use this as a markdown link
Copy link
Collaborator

Choose a reason for hiding this comment

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

This might lead to issues when using the MCP server outside of rill UI no? How would the LLM know to replace it with a link or add citations in something like claude desktop?


<Markdown
md={content}
plugins={[citePlugin(citations)]}
Copy link
Collaborator

Choose a reason for hiding this comment

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

How does this actually render the CitationLink? The docs are bit sparse for this library.


```typescript
// marked extension - outputs HTML placeholders
marked.use({
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we are doing the backend refactor I vote for moving away from this "rewrite" method.

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.

3 participants