agentscope-ai / agentscope-ai/QwenPaw

[Bug]: 对<thought>...</thought>标签包裹的思考内容进行处理有问题,导致了不能处理部分模型供应商返回的思考过程

Open
#3,206 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
34.9k
Forks
3.1k
Avg merge
1d 15h
Merged PRs (30d)
225

Description

## CoPaw Version

1.02

## Description

src/copaw/local_models/tag_parser.py 对`...`标签包裹的思考内容没有进行处理,导致不能折叠部分模型供应商返回的思考过程,而是直接显示在回答中了

Image

## Component(s) Affected

- [x] Core / Backend (app, agents, config, providers, utils, local_models)
- [ ] Console (frontend web UI)
- [ ] Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
- [ ] Skills
- [ ] CLI
- [ ] Documentation (website)
- [ ] Tests
- [ ] CI/CD
- [ ] Scripts / Deploy

## Environment

- **CoPaw version:1.0.2
- **OS:ubuntu 24.04
- **Install method:one-line install
- **Python version (if applicable):3.12

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.