feat: add provider-native request switches (#5254)
This commit is contained in:
@@ -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