(
&self,
_request: graphbit_core::llm::LlmRequest,
)
| 49 | } |
| 50 | |
| 51 | async fn complete( |
| 52 | &self, |
| 53 | _request: graphbit_core::llm::LlmRequest, |
| 54 | ) -> graphbit_core::errors::GraphBitResult<graphbit_core::llm::LlmResponse> { |
| 55 | // Return a dummy response |
| 56 | Ok(graphbit_core::llm::LlmResponse { |
| 57 | content: "dummy response".to_string(), |
| 58 | usage: graphbit_core::llm::LlmUsage { |
| 59 | prompt_tokens: 10, |
| 60 | completion_tokens: 5, |
| 61 | total_tokens: 15, |
| 62 | }, |
| 63 | finish_reason: graphbit_core::llm::FinishReason::Stop, |
| 64 | model: "dummy-model".to_string(), |
| 65 | tool_calls: vec![], |
| 66 | metadata: std::collections::HashMap::new(), |
| 67 | id: Some("dummy-id".to_string()), |
| 68 | }) |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | // ---- Dummy agent for workflow execution tests (no external API) ---- |
no test coverage detected