feat(core): Support embedding APIs in google-genai#19797
feat(core): Support embedding APIs in google-genai#19797nicohrubec wants to merge 10 commits intodevelopfrom
Conversation
size-limit report 📦
|
node-overhead report 🧳Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| * Extract model from parameters or chat context object | ||
| * For chat instances, the model is available on the chat object as 'model' (older versions) or 'modelVersion' (newer versions) | ||
| */ | ||
| export function extractModel(params: Record<string, unknown>, context?: unknown): string { |
There was a problem hiding this comment.
from here on these functions were just moved to utils to make the linter happy

Add instrumentation support for the Google GenAI embeddings API (
models.embedContent).Closes #19535