leonsong09
leonsong09
专利之星patent star 和 soopat两个专利网站现在不能识别
已经安装最新版的pandoc。拖入没有产生
## 现象 `NativeToolClient.chat()` 里,当一条 `tool_result` 的 `tool_use_id` 为空时(文本兜底还原出来的 `MockToolCall` 默认 `id=''`),原实现是把结果**前置插入** `combined_content`: ```python else: combined_content = [{"type": "text", "text": f'{content}'}] + combined_content ``` 每次 prepend 都会把上一次插入的挤到后面,于是产生两个可见缺陷。 ## 缺陷 1:多个空 id...
## 现象 `code_run` 每次调用都要多等最多 1 秒才能拿到结果,即使子进程 50ms 就跑完了。 ## 根因 `ga.py` 的 `code_run()` 用固定间隔轮询看进程是否结束: ```python while t.is_alive(): ... time.sleep(1) # ← 只看一眼就睡满 1 秒 ``` 子进程在第 0.05s 结束,线程也立刻退出了,但主线程还在 `sleep(1)` 里,必须睡完才回到...
# 中文版 ## 摘要 `agentmain.py --task` 模式在**第一轮完成后**无条件等待 `reply.txt` 最长 600 秒(300×2s)。对无人值守的一次性任务(如定时调度)而言,这 600 秒是纯空转,且会让进程在报告早已写完之后继续占着,直到外层 runner 的硬超时把整棵进程树杀掉。 ## 复现 无交互地跑任意 `--task` 任务: ``` python agentmain.py --task mytask --input "做一件事" --nobg ``` 第...
### Symptom A task **stops mid-way with no error** right after the assistant prints bare XML-looking tags instead of calling a tool. Copying the last lines out of the TUI...
## Summary `do_no_tool()` declares a response incomplete if a truncation marker appears **anywhere in the trailing window**. When the model mentions such a marker in its own reply — debugging...
目前readme没有说明如何从开始到使用,能否介绍一下使用案例流程。
当前CCswitch对Claude的源切换主要通过更改settings.json文件的配置信息。settings.json是主文件,里面包含了对claude的全局管理信息,ccswitch提供了相仿的功能,即为每个源可配置通用代码。这样的逻辑有些冗余。能否在功能中添加,比如创建settings-cc.json作为ccswtich切换源的文件,claude支持多settings文件打开,例如在powershell中定义function claude-cc {claude --settings $HOME/.claude/settings-cc.json @args},即可在powershell中通过claude-cc打开claude自动走ccswtich的源,也可实现实时的切换,这样不会损伤主设置文件。
### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Need...