Skip to content

Conversation

@wenhuanh
Copy link
Contributor

No description provided.

@wenhuanh wenhuanh changed the title + Add thinking process for demo [web demo] Add thinking process for demo Feb 25, 2025
chunk=""
chatbot[-1]["metadata"]= {"title": "💭思考过程"}
elif chunk == "</think>":
if len(chatbot[-1]["content"].strip()) == 0:
Copy link
Contributor

Choose a reason for hiding this comment

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

need to check whether "metadata" exists.

Signed-off-by: Wenhuan Huang <[email protected]>
@Duyi-Wang Duyi-Wang merged commit 1ecc7a5 into intel:main Feb 27, 2025
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