ollama - 💡(How to fix) Fix Weird think tag for Medgemma [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15754Fetched 2026-04-23 07:23:19
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Code Example

ollama run medgemma1.5          
>>> hey
<unused94>thought
Thinking Process:

1.  **Identify the user's input:** The user simply typed "hey".
2.  **Interpret the input:** "Hey" is a common greeting. It's informal and friendly.
3.  **Determine the goal:** The user is initiating a conversation or just saying hello.
4.  **Formulate a response:**
    *   Acknowledge the greeting.
    *   Return the greeting.
    *   Offer assistance or invite further interaction.
5.  **Draft potential responses:**
    *   "Hey there!" (Simple, friendly)
    *   "Hi! How can I help you today?" (More direct, offers help)
    *   "Hello! What can I do for you?" (Slightly more formal)
    *   "Hey! How's it going?" (Friendly, conversational)
    *   "Hi! I'm here to help. What do you need?" (Clear, helpful)
6.  **Select the best response:** A combination of acknowledging the greeting and offering help seems appropriate 
for an AI assistant. "Hey there! How can I help you today?" or "Hi! What can I do for you?" are good options. 
Let's go with a slightly more conversational but still helpful tone.
7.  **Final Response Construction:** "Hey there! How can I help you today?" or "Hi! What can I help you with?" or 
"Hello! How may I assist you?" - The first one feels natural and friendly.<unused95>Hey there! How can I help you 
today?
RAW_BUFFERClick to expand / collapse

What is the issue?

Seeing this strange think tag with medgemma1.5

Also can we have a think option for gemma just like on the aistudio? Thanks!

Relevant log output

ollama run medgemma1.5          
>>> hey
<unused94>thought
Thinking Process:

1.  **Identify the user's input:** The user simply typed "hey".
2.  **Interpret the input:** "Hey" is a common greeting. It's informal and friendly.
3.  **Determine the goal:** The user is initiating a conversation or just saying hello.
4.  **Formulate a response:**
    *   Acknowledge the greeting.
    *   Return the greeting.
    *   Offer assistance or invite further interaction.
5.  **Draft potential responses:**
    *   "Hey there!" (Simple, friendly)
    *   "Hi! How can I help you today?" (More direct, offers help)
    *   "Hello! What can I do for you?" (Slightly more formal)
    *   "Hey! How's it going?" (Friendly, conversational)
    *   "Hi! I'm here to help. What do you need?" (Clear, helpful)
6.  **Select the best response:** A combination of acknowledging the greeting and offering help seems appropriate 
for an AI assistant. "Hey there! How can I help you today?" or "Hi! What can I do for you?" are good options. 
Let's go with a slightly more conversational but still helpful tone.
7.  **Final Response Construction:** "Hey there! How can I help you today?" or "Hi! What can I help you with?" or 
"Hello! How may I assist you?" - The first one feels natural and friendly.<unused95>Hey there! How can I help you 
today?

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.21.1

extent analysis

TL;DR

  • Investigate the "think" tag functionality in medgemma1.5 and compare it with the aistudio implementation to identify potential discrepancies or missing features.

Guidance

  • Review the code or documentation for medgemma1.5 to understand how the "think" tag is handled and if it's intended to behave differently from aistudio.
  • Compare the user interface and features of medgemma1.5 with aistudio to identify any gaps or inconsistencies that might be related to the "think" option.
  • Consider reaching out to the developers or community of medgemma1.5 for clarification on the intended behavior of the "think" tag and potential plans for adding a "think" option similar to aistudio.
  • Verify if the issue is specific to the version 0.21.1 of Ollama or if it persists across different versions.

Notes

  • The provided log output seems to be related to the conversation flow and response generation, but it does not directly address the issue with the "think" tag or option.
  • Without more specific information about the implementation or intended behavior of medgemma1.5, it's challenging to provide a definitive solution.

Recommendation

  • Apply workaround: Since the issue seems to be related to a missing feature or inconsistent behavior, applying a workaround such as using a different version of medgemma or aistudio, or finding an alternative way to achieve the desired functionality, might be the most practical approach until the issue is addressed by the developers.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

ollama - 💡(How to fix) Fix Weird think tag for Medgemma [1 participants]