[GH-ISSUE #14214] gemini-3-flash-preview Problem: function_response.name: Name cannot be empty #9258

Open
opened 2026-04-12 22:08:04 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @angween on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14214

What is the issue?

I use Ollama inside n8n's workflow to act as virtual assistant chat bot and it works flawlessly, but only with model gemini-3-flash-preview:cloud this problem exist, and also the problem will exists every time it using any function_call / tool. Other model will work fine (except: gpp-oss-120b:cloud that never call any function call / tools). The tool is working and response with result, but the cloud model shows error after that.

This is the error code i've got:
{"StatusCode":400,"Status":"400 Bad Request","error":"* GenerateContentRequest.contents[2].parts[0].function_response.name: Name cannot be empty."}

This is the screenshot:
Image

This is the workflow:
Image

Please help. Thank you.

Relevant log output


OS

Linux

GPU

Other

CPU

AMD

Ollama version

0.15.5

Originally created by @angween on GitHub (Feb 12, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14214 ### What is the issue? I use Ollama inside n8n's workflow to act as virtual assistant chat bot and it works flawlessly, but only with model gemini-3-flash-preview:cloud this problem exist, and also the problem will exists every time it using any function_call / tool. Other model will work fine (except: gpp-oss-120b:cloud that never call any function call / tools). The tool is working and response with result, but the cloud model shows error after that. This is the error code i've got: `{"StatusCode":400,"Status":"400 Bad Request","error":"* GenerateContentRequest.contents[2].parts[0].function_response.name: Name cannot be empty."}` This is the screenshot: <img width="1478" height="854" alt="Image" src="https://github.com/user-attachments/assets/644defab-b660-491b-b5b2-dc994d382e2a" /> This is the workflow: <img width="1148" height="599" alt="Image" src="https://github.com/user-attachments/assets/2a0adf3e-7898-4ac4-bb2e-53a9dee261d9" /> Please help. Thank you. ### Relevant log output ```shell ``` ### OS Linux ### GPU Other ### CPU AMD ### Ollama version 0.15.5
GiteaMirror added the bug label 2026-04-12 22:08:04 -05:00
Author
Owner

@chereekana-droid commented on GitHub (Mar 6, 2026):

Hopefully, this issue will be taken seriously; it's just a simple bug.

<!-- gh-comment-id:4010514695 --> @chereekana-droid commented on GitHub (Mar 6, 2026): Hopefully, this issue will be taken seriously; it's just a simple bug.
Author
Owner

@pavelai commented on GitHub (Apr 6, 2026):

The problem still exists. I'm using the latest Ollama JS library (v0.5.18)

<!-- gh-comment-id:4192300868 --> @pavelai commented on GitHub (Apr 6, 2026): The problem still exists. I'm using the latest Ollama JS library (v0.5.18)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9258