We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e1bde commit 8c8f4eeCopy full SHA for 8c8f4ee
src/Bridge/Ollama/Ollama.php
@@ -23,6 +23,7 @@ class Ollama extends Model
23
public const GEMMA_3_N = 'gemma3n';
24
public const GEMMA_3 = 'gemma3';
25
public const QWEN_3 = 'qwen3';
26
+ public const QWEN_3_32B = 'qwen3:32b';
27
public const QWEN_2_5_VL = 'qwen2.5vl';
28
public const LLAMA_3_1 = 'llama3.1';
29
public const LLAMA_3_2 = 'llama3.2';
@@ -33,6 +34,7 @@ class Ollama extends Model
33
34
public const PHI_3 = 'phi3';
35
public const GEMMA_2 = 'gemma2';
36
public const QWEN_2_5_CODER = 'qwen2.5-coder';
37
+ public const QWEN_2_5_CODER_32B = 'qwen2.5-coder:32b';
38
public const GEMMA = 'gemma';
39
public const QWEN = 'qwen';
40
public const QWEN_2 = 'qwen2';
@@ -50,7 +52,7 @@ class Ollama extends Model
50
52
'/^llama\D*3(\D*\d+)/' => [
51
53
Capability::TOOL_CALLING,
54
],
- '/^qwen\d(\.\d)?(-coder)?$/' => [
55
+ '/^qwen\d(\.\d)?(-coder)?(:\d+(\.\d+)?b)?$/' => [
56
57
58
'/^(deepseek|mistral)/' => [
tests/Bridge/Ollama/OllamaTest.php
@@ -64,7 +64,9 @@ public static function provideModelsWithToolCallingCapability(): iterable
64
yield 'qwen2' => [Ollama::QWEN_2];
65
yield 'qwen2.5' => [Ollama::QWEN_2_5];
66
yield 'qwen2.5-coder' => [Ollama::QWEN_2_5_CODER];
67
+ yield 'qwen2.5-coder:32b' => [Ollama::QWEN_2_5_CODER_32B];
68
yield 'qwen3' => [Ollama::QWEN_3];
69
+ yield 'qwen3:32b' => [Ollama::QWEN_3_32B];
70
71
// Models that match the deepseek pattern
72
yield 'deepseek-r1' => [Ollama::DEEPSEEK_R_1];
0 commit comments