fix(ai): normalize tool call ids and handoff tests fixes #821
This commit is contained in:
@@ -84,6 +84,7 @@ export const streamGoogleVertex: StreamFunction<"google-vertex"> = (
|
||||
const location = resolveLocation(options);
|
||||
const client = createClient(model, project, location);
|
||||
const params = buildParams(model, context, options);
|
||||
options?.onPayload?.(params);
|
||||
const googleStream = await client.models.generateContentStream(params);
|
||||
|
||||
stream.push({ type: "start", partial: output });
|
||||
|
||||
Reference in New Issue
Block a user