mcp返回
{"result":{"success":false,"error":"Failed to get SESSION_ID from the gemini session. \n\n","all_messages":[]}}`
在控制台中正常
{"type":"init","timestamp":"2025-12-28T10:27:29.573Z","session_id":"f20edd97-8178-43ab-8c21-f4c533cb9c11","model":"auto-gemini-3"} {"type":"message","timestamp":"2025-12-28T10:27:29.575Z","role":"user","content":"'hi, who are you?'"} {"type":"message","timestamp":"2025-12-28T10:27:33.463Z","role":"assistant","content":"Hello! I am the Gemini CLI, a non-interactive agent specialized in software engineering tasks like codebase investigation, feature implementation, and bug fixes. How can I help you","delta":true} {"type":"message","timestamp":"2025-12-28T10:27:33.496Z","role":"assistant","content":" today?","delta":true} {"type":"result","timestamp":"2025-12-28T10:27:33.710Z","status":"success","stats":{"total_tokens":9788,"input_tokens":9418,"output_tokens":102,"cached":0,"input":9418,"duration_ms":4138,"tool_calls":0}}
mcp返回
{"result":{"success":false,"error":"Failedto getSESSION_IDfrom the gemini session. \n\n","all_messages":[]}}`在控制台中正常
{"type":"init","timestamp":"2025-12-28T10:27:29.573Z","session_id":"f20edd97-8178-43ab-8c21-f4c533cb9c11","model":"auto-gemini-3"} {"type":"message","timestamp":"2025-12-28T10:27:29.575Z","role":"user","content":"'hi, who are you?'"} {"type":"message","timestamp":"2025-12-28T10:27:33.463Z","role":"assistant","content":"Hello! I am the Gemini CLI, a non-interactive agent specialized in software engineering tasks like codebase investigation, feature implementation, and bug fixes. How can I help you","delta":true} {"type":"message","timestamp":"2025-12-28T10:27:33.496Z","role":"assistant","content":" today?","delta":true} {"type":"result","timestamp":"2025-12-28T10:27:33.710Z","status":"success","stats":{"total_tokens":9788,"input_tokens":9418,"output_tokens":102,"cached":0,"input":9418,"duration_ms":4138,"tool_calls":0}}