Files
mimiclaw/main/agent/context_builder.h

15 lines
364 B
C
Raw Normal View History

#pragma once
#include "esp_err.h"
#include <stddef.h>
/**
* Build the system prompt from bootstrap files (SOUL.md, USER.md)
* and memory context (MEMORY.md + recent daily notes).
*
* @param buf Output buffer (caller allocates, recommend MIMI_CONTEXT_BUF_SIZE)
* @param size Buffer size
*/
esp_err_t context_build_system_prompt(char *buf, size_t size);