Skip to content

Commit

Permalink
fix: Increase tool search limit from 30 to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed Dec 17, 2024
1 parent 9a1ec54 commit 719d235
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions control-plane/src/modules/workflows/agent/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ export const processRun = async (
}),
);

const mockToolsMap: Record<string, AgentTool> =
await buildMockTools(run);
const mockToolsMap: Record<string, AgentTool> = await buildMockTools(run);

let mockModelResponses;
if (
Expand Down Expand Up @@ -272,7 +271,7 @@ async function findRelatedFunctionTools(workflow: Run, search: string) {
workflow.clusterId,
"service-function",
search,
30,
50, // limit to 50 results
)
: [];

Expand Down

0 comments on commit 719d235

Please sign in to comment.