Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
AI/ML
>
Artificial Intelligence
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
33
Star
454
Fork
120
GVP
OpenSolon
/
solon-ai
Code
Issues
15
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
46
修复 solon-ai-core <code>think->tool->think</code>模型丢失第一个<code></think></code>标签的问题
Merged
Almualium:dev
OpenSolon:dev
Almualium
create on 2025-08-25 17:48
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
1. 修复 solon-ai-core <code>think->tool->think</code>模型丢失第一个<code></think></code>标签的问题 --- ### 这个PR有什么用 / 我们为什么需要它? 在think->tool->think的模型中,丢失了第一个think的结束符< /think > 关联[问题]: 工具调用时,存在将工具调用的tool_calls识别为think=true从而没有加入对话的情况 https://gitee.com/opensolon/solon-ai/issues/ICUB7S ### 总结您的更改 在插入< /think > 时需要在不调用工具的情况下,故在设置in_thinking前插入一条结束符号 #### 请注明您已完成以下工作: - [x] 确保测试通过,并在需要时添加测试覆盖率。 - [x] 确保提交消息遵循 [常规提交规范](https://www.conventionalcommits.org/) 的规则。 - [ ] 考虑文档的影响,如果需要,打开一个新的文档问题或文档更改的PR。
This pull request needs to pass some approval items
Type
Assign personnel
Status
Reviewer
西东
Pass review
Completed
(1/1 )
How to merge Pull Request
git checkout dev
git pull https://gitee.com/gao-jiale114/solon-ai.git dev
git push origin dev
Comments
3
Commits
1
Files
1
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
linziguan
linziguan
小奶奶花生米
little-grandma-peanut
初衷
ccxyuan
西东
noear_admin
No Setting
Min number
1
Tester
linziguan
linziguan
小奶奶花生米
little-grandma-peanut
初衷
ccxyuan
西东
noear_admin
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
Label settings
No Setting
Link Issue
ICUB7S
[问题]: 工具调用时,存在将工具调用的tool_calls识别为think=true从而没有加入对话的情况
Successfully merged pull requests will close issues
Milestone
No related milestones
Participators
(2)
Cherry-pick Commit
Cherry-pick allows you to select and apply a
specific commit
from one branch to another, enabling quick integration of specific changes without merging the entire branch.
Please select the target branch to apply the Cherry-pick commit to
New branch
The current account does not have a Fork repository, it is recommended to cherry-pick to the Fork repository.
Fork repository
Submit list
Commit SHA
Commit Message
Create a Pull Request based on the Cherry-pick branch
Cancel
Cherry-pick
Java
1
https://gitee.com/opensolon/solon-ai.git
[email protected]
:opensolon/solon-ai.git
opensolon
solon-ai
solon-ai
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register