fix(sdk): fall back to the agent's tools in the managed streamText #1471
preview-packages.yml
on: push
Build and publish previews
2m 23s
Annotations
4 errors
|
Build and publish previews
Process completed with exit code 1.
|
|
Build and publish previews
@trigger.dev/sdk#build: command (/home/runner/work/trigger.dev/trigger.dev/packages/trigger-sdk) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
|
Build and publish previews
Property 'tools' is missing in type '{ action: any; chatId: string; turn: number; clientData: inferSchemaOut<TClientDataSchema>; uiMessages: TUIMessage[]; messages: ModelMessage[]; streamText: <TOOLS extends ToolSet, OUTPUT extends Output<...> = Output<...>>({ model, tools, toolChoice, system, prompt, messages, maxRetries, abortSignal, timeout, headers...' but required in type 'ActionEvent<[TActionSchema] extends [Schema] ? inferSchemaOut<TActionSchema, unknown> : unknown, inferSchemaOut<TClientDataSchema, unknown>, TUIMessage>'.
|
|
Build and publish previews
Property 'tools' does not exist on type 'ManagedStreamTextConfig'.
|