21 lines
523 B
Rust
21 lines
523 B
Rust
//! Agent chat management
|
|
//!
|
|
//! Port of `agent_chat.c` / `agent_chat.h` from the C project.
|
|
|
|
use crate::agent_chat_store;
|
|
|
|
/// Initialize the agent chat module.
|
|
pub fn agent_chat_init() {
|
|
agent_chat_store::agent_chat_store_init();
|
|
}
|
|
|
|
/// Handle a chat request from the web UI.
|
|
pub fn agent_chat_handle_request(_request: &str) -> String {
|
|
// TODO: implement chat request handling
|
|
serde_json::json!({
|
|
"status": "ok",
|
|
"message": "Chat handler not yet fully implemented"
|
|
})
|
|
.to_string()
|
|
}
|