Skip to content

Commit

Permalink
add type
Browse files Browse the repository at this point in the history
  • Loading branch information
isamu committed May 9, 2024
1 parent 4131b01 commit 253da9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/experimental_agents/llm_agents/groq_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ export const groqAgent: AgentFunction<
query?: string;
system?: string;
verbose?: boolean;
tools?: Record<string, any>;
tools?: Record<string, Groq.Chat.CompletionCreateParams.ToolChoice>;
temperature?: number;
max_tokens?: number;
tool_choice?: string | Record<string, any>;
},
Record<string, any> | string,
string | Array<Record<string, any>>
string | Array<Groq.Chat.CompletionCreateParams.Message>
> = async ({ params, inputs }) => {
assert(groq !== undefined, "The GROQ_API_KEY environment variable is missing.");
const { verbose, query, system, tools, tool_choice, max_tokens, temperature } = params;
Expand Down

0 comments on commit 253da9f

Please sign in to comment.