mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-14 01:20:44 +00:00
fix: show web search queries in progress drafts
This commit is contained in:
@@ -332,6 +332,13 @@ describe("channel-streaming", () => {
|
||||
args: { command: "sed -n '1,80p' extensions/discord/src/draft-stream.ts" },
|
||||
}),
|
||||
).toBe("🛠️ Bash: print lines 1-80 from extensions/discord/src/draft-stream.ts");
|
||||
expect(
|
||||
formatChannelProgressDraftLine({
|
||||
event: "tool",
|
||||
name: "web_search",
|
||||
args: { search_query: [{ q: "Codex OAuth API key" }], response_length: "short" },
|
||||
}),
|
||||
).toBe('🔎 Web Search: for "Codex OAuth API key"');
|
||||
expect(
|
||||
formatChannelProgressDraftLine({
|
||||
event: "item",
|
||||
|
||||
Reference in New Issue
Block a user