-
Notifications
You must be signed in to change notification settings - Fork 2
bug(a2a): message/send returns completed task with no artifacts when LLM response is empty #2302
Copy link
Copy link
Closed
Labels
P1High ROI, low complexity — do next sprintHigh ROI, low complexity — do next sprintbugSomething isn't workingSomething isn't workingllmzeph-llm crate (Ollama, Claude)zeph-llm crate (Ollama, Claude)
Description
Summary
During A2A daemon testing (CI-238), a message/send request returned status completed with no artifacts and no assistant message in history. The agent appears to have processed the request but the LLM response was not captured.
Steps to reproduce
- Start daemon:
./target/debug/zeph --config .local/config/testing.toml --daemon - Wait ~14s for full init (MCP, skills, embeddings)
- Send:
{"jsonrpc":"2.0","id":2,"method":"message/send","params":{"message":{"role":"user","parts":[{"kind":"text","text":"what is 2 + 2?"}]}}} - Response:
No
{"id":"9e0da797-...","status":{"state":"completed"},"history":[{"role":"user","parts":[...]}]}artifacts, no assistant message inhistory.
Expected
artifacts should contain the agent's reply. history should include both the user and assistant turns.
Actual
Task marked completed with only the user turn in history and no artifacts.
Notes
- This occurred on first query after daemon start (security classifier had not yet blocked any messages on this run)
- Subsequent queries to same daemon were blocked by security classifier false positives (bug(security): sanitizer classifier 401 on HuggingFace download — regex fallback blocks benign queries #2292), making it impossible to distinguish between "LLM returned empty" and "response was lost"
- Likely related to async task execution: A2A handler may mark task
completedbefore LLM inference finishes, or the response is not wired back into the task store
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High ROI, low complexity — do next sprintHigh ROI, low complexity — do next sprintbugSomething isn't workingSomething isn't workingllmzeph-llm crate (Ollama, Claude)zeph-llm crate (Ollama, Claude)