feat: add provider-native request switches (#5254)
This commit is contained in:
1 parent
5a1ab44baa
commit
67805f5db8
32 files changed
+1130
-52
No files matched your search
@@ -1165,12 +1165,13 @@ describe("AgentActivityCluster", () => {
|
||||
id: "search-start",
|
||||
role: "tool",
|
||||
kind: "trace",
|
||||
content: line,
|
||||
traces: [line],
|
||||
content: "web_search()",
|
||||
traces: ["web_search()"],
|
||||
toolEvents: [{
|
||||
phase: "start",
|
||||
call_id: "hosted-search-1",
|
||||
name: "web_search",
|
||||
arguments: { query: "site:linkedin.com/company Evomap startup" },
|
||||
arguments: {},
|
||||
}],
|
||||
createdAt: 1,
|
||||
},
|
||||
@@ -1182,6 +1183,7 @@ describe("AgentActivityCluster", () => {
|
||||
traces: [line],
|
||||
toolEvents: [{
|
||||
phase: "error",
|
||||
call_id: "hosted-search-1",
|
||||
name: "web_search",
|
||||
arguments: { query: "site:linkedin.com/company Evomap startup" },
|
||||
error: "Search provider rate limited the request",
|
||||
|
||||
Reference in new issue
Block a user