Build a mock LLM response with text only (step done). Uses the chuk_llm native format (top-level response key).
(text: str = "Step complete.")
| 172 | |
| 173 | |
| 174 | def _text_response(text: str = "Step complete.") -> dict: |
| 175 | """Build a mock LLM response with text only (step done). |
| 176 | |
| 177 | Uses the chuk_llm native format (top-level response key). |
| 178 | """ |
| 179 | return { |
| 180 | "response": text, |
| 181 | "tool_calls": None, |
| 182 | "usage": {"prompt_tokens": 100, "completion_tokens": 20}, |
| 183 | } |
| 184 | |
| 185 | |
| 186 | # ── Integration Tests ────────────────────────────────────────────────────── |
no outgoing calls
no test coverage detected