Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
toyamarinyon committed Oct 18, 2024
1 parent 72f2a2e commit 6f2660a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/(playground)/p/[agentId]/beta-proto/web-search/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ export const webSearchSchema = jsonSchema<{ plan: string; keywords: string[] }>(
type: "array",
items: {
type: "string",
description: "The keywords to search for user request",
description:
"Suggest appropriate search queries with relevant keywords at least 3-5 words long",
},
description: "The keywords to search for user request",
},
},
required: ["plan", "keywords"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export async function generateWebSearchStream(
},
});
for await (const partialObject of partialObjectStream) {
console.log(partialObject);
stream.update(partialObject);
}

Expand Down

0 comments on commit 6f2660a

Please sign in to comment.