You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
question: z.string().describe("The question to ask the model, especially if it requires real-time information (e.g., current news, recent events)."),
10
11
model: ModelEnum.optional()
11
12
.default("compound-beta")
12
13
.describe("The model to use (compound-beta or compound-beta-mini). Defaults to compound-beta. Use compound-beta-mini for quick answers."),
13
-
verbose: z.boolean().optional().default(false).describe("Optional (default: false). If true, includes executed tools in the response. This is very verbose and should only be used when the user asks for it or when the user query cannot be answered without it (always first try without it)."),
14
+
mode: ModeEnum.optional().default("minimal").describe("Response mode ('minimal' or 'verbose'). Defaults to 'minimal'. 'verbose' includes executed tools in the response. This is very verbose and should only be used when the user asks for it or when the user query cannot be answered without it (always first try without it)."),
15
+
include_domains: z.array(z.string()).optional().describe("List of domains to specifically include in the search."),
16
+
exclude_domains: z.array(z.string()).optional().describe("List of domains to exclude from the search."),
14
17
});
15
18
16
19
exportconstreplToolArgsSchema=z.object({
17
20
question: z.string().describe("The question to ask the model, especially one that benefits from Python REPL interaction (e.g., for intermediate calculations or code execution)."),
18
21
model: ModelEnum.optional()
19
22
.default("compound-beta")
20
23
.describe("The model to use (compound-beta or compound-beta-mini). Defaults to compound-beta. Use compound-beta-mini for quick answers."),
21
-
verbose: z.boolean().optional().default(false).describe("Optional (default: false). If true, includes executed tools in the response. This is very verbose and should only be used when the user asks for it or when the user query cannot be answered without it (always first try without it)."),
24
+
mode: ModeEnum.optional().default("minimal").describe("Response mode ('minimal' or 'verbose'). Defaults to 'minimal'. 'verbose' includes executed tools in the response. This is very verbose and should only be used when the user asks for it or when the user query cannot be answered without it (always first try without it)."),
25
+
include_domains: z.array(z.string()).optional().describe("List of domains to specifically include in the search."),
26
+
exclude_domains: z.array(z.string()).optional().describe("List of domains to exclude from the search."),
22
27
});
23
28
24
29
// Type alias for the arguments
@@ -36,15 +41,18 @@ async function executeGroqQuery(args: ToolArgs) {
36
41
content: args.question,
37
42
},
38
43
],
39
-
model: args.model
44
+
model: args.model,
45
+
// Add include_domains and exclude_domains if they exist in args
0 commit comments