Class: Ollama::PromptAdapters::Qwen

Inherits:
Base
  • Object
show all
Defined in:
lib/ollama/prompt_adapters/qwen.rb

Overview

Qwen adapter. Activates thinking via the think: true API flag.

Instance Attribute Summary

Attributes inherited from Base

#profile

Instance Method Summary collapse

Methods inherited from Base

#adapt_messages, #initialize

Constructor Details

This class inherits a constructor from Ollama::PromptAdapters::Base

Instance Method Details

#inject_think_flag?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/ollama/prompt_adapters/qwen.rb', line 7

def inject_think_flag?
  true
end