Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add question refinement before call stackvm #342

Merged
merged 10 commits into from
Oct 29, 2024
Merged

Conversation

IANTHEREAL
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Oct 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tidb-ai-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 29, 2024 7:52am
tidb-ai-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 29, 2024 7:52am

Copy link

github-actions bot commented Oct 28, 2024

question=self.user_question,
),
)
yield ChatEvent(
Copy link
Collaborator

Choose a reason for hiding this comment

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

We do not use old ChatMessageState for stackvm based chats

Copy link
Collaborator

Choose a reason for hiding this comment

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

Will support in future #345

db_assistant_message.content = response_text
db_assistant_message.trace_url = f"{base_url}/task_id={task_id}" if task_id else ""
Copy link
Collaborator

Choose a reason for hiding this comment

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

f"base_url"?task_id={task_id}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants