feat(core, cli): Bump genai version to 1.30.0#13435
Conversation
|
Size Change: +517 kB (+2.51%) Total Size: 21.1 MB
ℹ️ View Unchanged
|
d5c73da to
6338ff1
Compare
| } | ||
|
|
||
| if (!result.messages?.[0]?.content?.['text']) { | ||
| const maybeContent = result.messages?.[0]?.content; |
There was a problem hiding this comment.
This MCP type seems to have changed, and now a type field is provided.
| 'Response stopped due to unexpected tool call.', | ||
| [FinishReason.IMAGE_PROHIBITED_CONTENT]: | ||
| 'Response stopped due to prohibited content.', | ||
| [FinishReason.NO_IMAGE]: 'Response stopped due to no image.', |
There was a problem hiding this comment.
New finish reasons.
| name: 'prompt1', | ||
| description: 'Prompt 1', | ||
| inputSchema: {}, | ||
| }, |
There was a problem hiding this comment.
This property was removed from the Prompt type in @mcpcontextprotocol/sdk.
aishaneeshah
left a comment
There was a problem hiding this comment.
Should there be a periodic process to update these libraries as the new versions get rolled out?
That is a good point! We probably should stay on top of updating dependencies, because it's much better to do this when things are calm, vs. when a library update is blocking something. That said, I'm not exactly sure what the best form for this is. Filed #13441 and we can circle back. |
f5f0233 to
6338ff1
Compare
Bumps the genai version to 1.30.0