Closed antoniovini47 closed 2 days ago
Different locations on Gemini API, it's suggested to use
import { GoogleAIFileManager } from "@google/generative-ai/files";
but instead, for the latest version of "@google/generative-ai"
you should use
import { GoogleAIFileManager } from "@google/generative-ai/server";
it was a "minor change" made on 0.13.0 version, here it is the only place that this change was announced:
"@google/generative-ai/CHANGELOG.md"
No response
Description of the bug:
Different locations on Gemini API, it's suggested to use
import { GoogleAIFileManager } from "@google/generative-ai/files";
but instead, for the latest version of "@google/generative-ai"
you should use
import { GoogleAIFileManager } from "@google/generative-ai/server";
it was a "minor change" made on 0.13.0 version, here it is the only place that this change was announced:
"@google/generative-ai/CHANGELOG.md"
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response