▼ Conversation Error: Conversation Error Code: Mis...
# feedback
a
▼ Conversation Error: Conversation Error Code: MissingStyle Detail: Failed to get style ... Conversation Error Code: MissingStyle Detail: Failed to get style 'cfg(test)\\\\'; unable to parse 'cfg(test)\\\\' as color; 'cfg(test)\\\\' is not a valid color Previous line was: ▶️ Find all test files: $ find /Users/tomasic/proj/hypatia -name "*test*.rs" -type f | head -20 ✓ ▼ Find inline test modules: $ grep -rn "#\[cfg(test)\\]" /Users/tomasic/proj/hypatia/crates/hypa... Predicted Security Risk: LOW Summary: Find inline test modules Reasoning: No test files found anywhere. The tests might be inline in the source files with
#\[cfg(test)\]
modules. Let me check. $ grep -rn "#\\[cfg(test)\\]" /Users/tomasic/proj/hypatia/crates/hypatia-spi/src/ I ran that command myself and got the following: $ pwd /Users/tomasic/proj/hypatia mirth:hypatia tomasic$ grep -rn "#\[cfg(test)\\]" . ./crates/hypatia-spi/src/transaction.rs63#[cfg(test)] ./crates/hypatia-spi/src/security.rs531#[cfg(test)] ./crates/hypatia-spi/src/statistics.rs566#[cfg(test)] ./crates/hypatia-spi/src/predicate.rs782#[cfg(test)] That appears to be correct. Not sure why a search for existing tests would produce a search for "color". I tried to continue but that also failed, I think it is in a bad state: Conversation Error Code: MissingStyle Detail: Failed to get style 'cfg(test)\\\\'; unable to parse 'cfg(test)\\\\' as color; 'cfg(test)\\\\' is not a valid color > do next step ▼ Terminal: [TextContent(cache_prompt=False, type='text', text='/Users/tomasic/... Tool: terminal Result: /Users/tomasic/proj/hypatia/crates/hypatia-spi/src/transaction.rs63#\[cfg(test)\] /Users/tomasic/proj/hypatia/crates/hypatia-spi/src/security.rs531#\[cfg(test)\] /Users/tomasic/proj/hypatia/crates/hypatia-spi/src/statistics.rs566#\[cfg(test)\] /Users/tomasic/proj/hypatia/crates/hypatia-spi/src/predicate.rs782#\[cfg(test)\] 📁 Working directory: /Users/tomasic/proj/hypatia 🐍 Python interpreter: /Users/tomasic/proj/hypatia/.venv/bin/python ✅ Exit code: 0 ▼ Conversation Error: Conversation Error Code: LLMBadRequestError Detail: litellm.BadReq... Conversation Error Code: LLMBadRequestError Detail: litellm.BadRequestError: MoonshotException - Invalid request: an assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: terminal:25
c
Was this using the CLI? Could you please tell what version, too?
a
Yes, using the CLI, latest version. OpenHands SDK v1.21.0
This error happens consistently now.
c
cc: @millions-crayon-32880 @wide-doctor-37830 we may have seen this before?
m
interestingly just got the same error on a much older CLI version. created an issue here https://github.com/OpenHands/software-agent-sdk/issues/3384