Files
NeuroDock/MALAPITool
Zacharias 931c274cd3
build / build (push) Has been cancelled
refactor: update CoreMemory to v2 and rename OllamaToolResponse
- Refactored `CoreMemory` to support versioning (v2) and dual-memory types: `MAPPED_MEMORY` (key-value) and `ARRAYED_MEMORY` (sequential).
- Added automatic migration logic for v1 memory files to v2.
- Introduced new memory tools: `AddArrayMemory`, `GetArrayMemory`, and `GetArrayedMemories`.
- Renamed `OllamaToolRespnce` to `OllamaToolResponse` and added `empty()` factory methods for better error handling.
- Updated multiple function tools (e.g., `GetMemoryFunction`, `GetMemoriesFunction`, `APITool`, `GetWikiPageText`) to use the new `OllamaToolResponse` and `Optional`-based memory retrieval.
- Improved null safety by adding `@NotNull` annotations to tool implementations.
2026-05-27 21:10:15 +02:00
..
2025-05-23 15:24:58 +02:00

MAL API wrapper

Important notes

Scope

This wrapper is not fully implemented, some endpoints are missing, as well as no user-specific endpoints are added.

Rate limits

I'm yet to enforce the rate limit, due to in there the Ollama backend won't be fast enough, but this is subject to change

API Key Required

You must provide your own API key

Store the key in ${DATE_DIR}/malapi.json using the following format:

{
    "client_id": "<client_id>",
    "client_secret": "<client_secret>"// This is for the moment not used but shuld till be added
}