Skip to content

Commit

Permalink
Update gemini.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Jan 28, 2025
1 parent 7a8b96d commit 350e800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpBlocklyJS/gemini_20240209/gemini.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function gemini_chat_content_file_remote_insert(url) {

async function gemini_chat_image_request(message, imageURL) {
try {
let inline_data = await get_inline_data(imageURL);
let inline_data = await get_inline_data(imageURL);

const url = `https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent?key=${Gemini_api_key}`;
const data = {
Expand Down

0 comments on commit 350e800

Please sign in to comment.