-
Notifications
You must be signed in to change notification settings - Fork 228
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
[功能]: 思考过程的显示优化 #541
Comments
+1 |
暂时还不知道如何判断折叠的边界 |
Closed
对于目前 Gemini 的思考过程,可以参考这个文档判断: https://ai.google.dev/gemini-api/docs/thinking-mode#working_with_thoughts |
看来要更新 sdk 才可以 |
最新的 js sdk 还没有支持这个 |
stream 数据流没有相关的数据 {
"candidates": [
{
"content": {
"parts": [
{
"text": "Thinking"
}
],
"role": "model"
},
"index": 0
}
],
"usageMetadata": {
"promptTokenCount": 7,
"candidatesTokenCount": 1,
"totalTokenCount": 8
},
"modelVersion": "gemini-2.0-flash-thinking-exp"
} |
辛苦大佬,可以先搁置等上游更新 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您的功能建议是否与某个问题相关?
目前思考模型(例如
gemini-2.0-flash-thinking-exp-1219
)的结果显示似乎是将思考内容与回答文本拼接起来显示的,往往需要找一下回答内容的起始字符,感觉这里可以改进一下。请描述您希望实现的解决方案
参考官网,希望可以把思考过程设置为可展开可收缩的样子(默认收缩即可)
请描述您考虑过的其他方案
No response
其他补充信息
No response
The text was updated successfully, but these errors were encountered: