Skip to content

Commit 74f521b

Browse files
committed
fix: remove unused think property from serpCluster schema
1 parent c1f8f95 commit 74f521b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/tools/serp-cluster.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export async function serpCluster(results: SearchSnippet[], trackers: TrackerCon
2929
system: prompt.system,
3030
prompt: prompt.user,
3131
});
32-
trackers?.actionTracker.trackThink(result.object.think);
3332
const clusters = result.object.clusters;
3433
logInfo(TOOL_NAME, { clusters });
3534
return clusters;

src/utils/schemas.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ export class Schemas {
176176

177177
getSerpClusterSchema(): z.ZodObject<any> {
178178
return z.object({
179-
think: z.string().describe(`Explain why you cluster the search results like this. ${this.getLanguagePrompt()}`).max(500),
180179
clusters: z.array(
181180
z.object({
182181
insight: z.string().describe('Summary and list key numbers, data, soundbites, and insights that worth to be highlighted. End with an actionable advice such as "Visit these URLs if you want to understand [what...]". Do not use "This cluster..."').max(200),

0 commit comments

Comments
 (0)