手动添加 memory 失败并报错

完全新的 Alma,除了配置了一些 provider 之外,其他的都没设置。

系统信息:macOS: 15.7.3 (24G419)

Alma 版本:0.0.177

Memory Tool Model: deepseek-chat

相关错误日志:

Thread sync client connected
2026-01-05T06:57:10.893Z GET /api/settings
2026-01-05T06:57:10.895Z GET /api/custom-themes
Settings sync client connected
2026-01-05T06:57:10.990Z GET /api/tool-model
2026-01-05T06:57:10.991Z GET /api/providers
2026-01-05T06:57:11.015Z GET /api/providers/moonshot/models
2026-01-05T06:57:11.016Z GET /api/providers/mjqrow1gmfhevvqh2j/models
2026-01-05T06:57:11.018Z GET /api/providers/deepseek/models
2026-01-05T06:57:11.019Z GET /api/providers/copilot/models
2026-01-05T06:57:12.491Z GET /api/providers/mjqrow1gmfhevvqh2j/models
2026-01-05T06:57:12.492Z GET /api/providers/moonshot/models
2026-01-05T06:57:12.492Z GET /api/providers/deepseek/models
2026-01-05T06:57:12.494Z GET /api/providers/mjqrow1gmfhevvqh2j/models
2026-01-05T06:57:12.495Z GET /api/providers/copilot/models
Memory sync client connected
2026-01-05T06:57:12.514Z GET /api/settings
2026-01-05T06:57:12.517Z GET /api/memories
2026-01-05T06:57:12.518Z GET /api/memories/stats
2026-01-05T06:57:12.521Z GET /api/threads
2026-01-05T06:57:20.370Z POST /api/memories
Error creating memory: TypeError: Cannot read properties of undefined (reading '0')
    at Object.generateOpenAIEmbedding (file:///Applications/Alma.app/Contents/Resources/app.asar/out/main/index.js:1:28034)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async Qi.createMemory (file:///Applications/Alma.app/Contents/Resources/app.asar/out/main/index.js:1:468942)
2026-01-05 14:58:00.708 Alma[11693:6472294] error messaging the mach port for IMKCFRunLoopWakeUpReliable
Memory sync client disconnected
Thread sync client disconnected
Settings sync client disconnected

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🐛

Bug Reports

Date

About 2 months ago

Author

happy wang

Subscribe to post

Get notified by email when there are changes.