mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-17 04:31:55 +00:00
Modularize frontend
This commit is contained in:
parent
bb5eab2645
commit
c2d5a28d15
8 changed files with 1353 additions and 597 deletions
|
|
@ -398,15 +398,9 @@ class AIAgent:
|
|||
Returns:
|
||||
Dict: Complete conversation result with final response and message history
|
||||
"""
|
||||
# ============================================================
|
||||
# WEBSOCKET LOGGING: Session Initialization
|
||||
# ============================================================
|
||||
# Generate unique session ID for this agent execution (or use provided one)
|
||||
# This ID will be used to link all events together in the log file
|
||||
if session_id is None:
|
||||
session_id = str(uuid.uuid4())
|
||||
|
||||
# Initialize WebSocket logger if enabled (via --enable_websocket_logging flag)
|
||||
# Uses synchronous API - no event loop management in agent layer
|
||||
if self.enable_websocket_logging:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue