From 27dd7e1580fed90eb1dfae3292fb1ca167c0629e Mon Sep 17 00:00:00 2001 From: Chase Rensberger Date: Thu, 12 Feb 2026 19:20:56 -0500 Subject: [PATCH] Add ollama provider and gemma3 local models --- providers/ollama/models/gemma3:12b.toml | 16 ++++++++++++++++ providers/ollama/models/gemma3:1b.toml | 16 ++++++++++++++++ providers/ollama/models/gemma3:270m.toml | 16 ++++++++++++++++ providers/ollama/models/gemma3:27b.toml | 16 ++++++++++++++++ providers/ollama/models/gemma3:4b.toml | 16 ++++++++++++++++ providers/ollama/provider.toml | 4 ++++ 6 files changed, 84 insertions(+) create mode 100644 providers/ollama/models/gemma3:12b.toml create mode 100644 providers/ollama/models/gemma3:1b.toml create mode 100644 providers/ollama/models/gemma3:270m.toml create mode 100644 providers/ollama/models/gemma3:27b.toml create mode 100644 providers/ollama/models/gemma3:4b.toml create mode 100644 providers/ollama/provider.toml diff --git a/providers/ollama/models/gemma3:12b.toml b/providers/ollama/models/gemma3:12b.toml new file mode 100644 index 000000000..b2b5e4744 --- /dev/null +++ b/providers/ollama/models/gemma3:12b.toml @@ -0,0 +1,16 @@ +name = "Gemma 3 12B" +family = "gemma" +release_date = "2025-03-10" +last_updated = "2025-03-10" +attachment = true +reasoning = false +tool_call = false +open_weights = true + +[limit] +context = 131_072 +output = 131_072 + +[modalities] +input = ["text", "image"] +output = ["text"] diff --git a/providers/ollama/models/gemma3:1b.toml b/providers/ollama/models/gemma3:1b.toml new file mode 100644 index 000000000..97863915e --- /dev/null +++ b/providers/ollama/models/gemma3:1b.toml @@ -0,0 +1,16 @@ +name = "Gemma 3 1B" +family = "gemma" +release_date = "2025-03-10" +last_updated = "2025-03-10" +attachment = false +reasoning = false +tool_call = false +open_weights = true + +[limit] +context = 32_768 +output = 32_768 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/ollama/models/gemma3:270m.toml b/providers/ollama/models/gemma3:270m.toml new file mode 100644 index 000000000..76102d49c --- /dev/null +++ b/providers/ollama/models/gemma3:270m.toml @@ -0,0 +1,16 @@ +name = "Gemma 3 270M" +family = "gemma" +release_date = "2025-08-14" +last_updated = "2025-08-14" +attachment = false +reasoning = false +tool_call = false +open_weights = true + +[limit] +context = 32_768 +output = 32_768 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/ollama/models/gemma3:27b.toml b/providers/ollama/models/gemma3:27b.toml new file mode 100644 index 000000000..b1a74a898 --- /dev/null +++ b/providers/ollama/models/gemma3:27b.toml @@ -0,0 +1,16 @@ +name = "Gemma 3 27B" +family = "gemma" +release_date = "2025-03-10" +last_updated = "2025-03-10" +attachment = true +reasoning = false +tool_call = false +open_weights = true + +[limit] +context = 131_072 +output = 131_072 + +[modalities] +input = ["text", "image"] +output = ["text"] diff --git a/providers/ollama/models/gemma3:4b.toml b/providers/ollama/models/gemma3:4b.toml new file mode 100644 index 000000000..c0938d1fa --- /dev/null +++ b/providers/ollama/models/gemma3:4b.toml @@ -0,0 +1,16 @@ +name = "Gemma 3 4B" +family = "gemma" +release_date = "2025-03-10" +last_updated = "2025-03-10" +attachment = true +reasoning = false +tool_call = false +open_weights = true + +[limit] +context = 131_072 +output = 131_072 + +[modalities] +input = ["text", "image"] +output = ["text"] diff --git a/providers/ollama/provider.toml b/providers/ollama/provider.toml new file mode 100644 index 000000000..377512891 --- /dev/null +++ b/providers/ollama/provider.toml @@ -0,0 +1,4 @@ +name = "Ollama" +env = ["OLLAMA_BASE_URL"] +npm = "ollama-ai-provider" +doc = "https://ollama.com/library"