Function: makeAgent()

makeAgent(prodiverOpts?: {apiKey: string;provider: string; }, modelConfig?: Partial<ModelConfig>, opts?: {systemPrompt: string; }): Agent

Parameters

ParameterType
prodiverOpts?object
prodiverOpts.apiKey?string
prodiverOpts.provider?string
modelConfig?Partial<ModelConfig>
opts?object
opts.systemPrompt?string

Returns

Agent

Defined in

src/agent/agent.ts:297