@gamaze/hicortex 0.3.12 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/mcp-server.js +10 -0
  2. package/package.json +1 -1
@@ -192,6 +192,16 @@ async function startServer(options = {}) {
192
192
  llmConfig = (0, llm_js_1.resolveLlmConfigForCC)();
193
193
  }
194
194
  }
195
+ else if (savedConfig?.llmBackend === "ollama" && savedConfig?.llmBaseUrl) {
196
+ // Ollama: no API key needed, construct config directly
197
+ llmConfig = {
198
+ baseUrl: savedConfig.llmBaseUrl,
199
+ apiKey: "",
200
+ model: savedConfig.llmModel ?? "qwen3.5:4b",
201
+ reflectModel: savedConfig.reflectModel ?? savedConfig.llmModel ?? "qwen3.5:4b",
202
+ provider: "ollama",
203
+ };
204
+ }
195
205
  else {
196
206
  llmConfig = (0, llm_js_1.resolveLlmConfigForCC)({
197
207
  llmBaseUrl: savedConfig?.llmBaseUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamaze/hicortex",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "Human-like memory for self-improving AI agents. Automatic capturing, nightly reflection, and cross-agent learning. Works with Claude Code and OpenClaw.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {