Replace SSE streaming with non-streaming JSON for Anthropic API. Add llm_chat_tools() returning structured llm_response_t with text and tool_use blocks. Implement tool registry with dispatch-by-name and web_search tool via Brave Search API (direct + proxy support). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
662 B
CMake
24 lines
662 B
CMake
idf_component_register(
|
|
SRCS
|
|
"mimi.c"
|
|
"bus/message_bus.c"
|
|
"wifi/wifi_manager.c"
|
|
"telegram/telegram_bot.c"
|
|
"llm/llm_proxy.c"
|
|
"agent/agent_loop.c"
|
|
"agent/context_builder.c"
|
|
"memory/memory_store.c"
|
|
"memory/session_mgr.c"
|
|
"gateway/ws_server.c"
|
|
"cli/serial_cli.c"
|
|
"ota/ota_manager.c"
|
|
"proxy/http_proxy.c"
|
|
"tools/tool_registry.c"
|
|
"tools/tool_web_search.c"
|
|
INCLUDE_DIRS
|
|
"."
|
|
REQUIRES
|
|
nvs_flash esp_wifi esp_netif esp_http_client esp_http_server
|
|
esp_https_ota esp_event json spiffs console vfs app_update esp-tls
|
|
)
|