|
发表于 2024-1-24 19:08:30
|
显示全部楼层
此错误来自自定义集成。
Logger: custom_components.tongyi_assistant
Source: custom_components/tongyi_assistant/__init__.py:230
Integration: Tongyi Assistant (documentation, issues)
First occurred: 19:03:46 (3 occurrences)
Last logged: 19:05:09
Response for tongyi: {"status_code": 200, "request_id": "96241450-115c-9a0c-aa47-631f99a8a986", "code": "", "message": "", "output": {"text": null, "finish_reason": null, "choices": [{"finish_reason": "stop", "message": {"role": "assistant", "content": "entities:\n\n * binary_sensor.ljs_light8_btn1\n * binary_sensor.ljs_light8_btn2\n * binary_sensor.ljs_light8_btn3\n * binary_sensor.ljs_light8_btn4\n * binary_sensor.ljs_light8_btn5\n\nservice:\n\n * turn_on\n\ndata:\n\n entity_id: binary_sensor.ljs_light8_btn1"}}]}, "usage": {"input_tokens": 3937, "output_tokens": 78, "total_tokens": 4015}}
Response for tongyi: {"status_code": 200, "request_id": "abbc2787-c987-9cec-a3a8-0a8fc3f9f83b", "code": "", "message": "", "output": {"text": null, "finish_reason": null, "choices": [{"finish_reason": "stop", "message": {"role": "assistant", "content": "entities:\n\n * entity_id: light.ljs_sw3_1\n\nservice:\n\n * service: turn_on\n\ndata:\n\n * brightness: 100\n\nresponse:\n\n```json\n{\n \"result\": true,\n \"message\": \"灯已打开\"\n}\n```"}}]}, "usage": {"input_tokens": 3937, "output_tokens": 58, "total_tokens": 3995}}
Response for tongyi: {"status_code": 200, "request_id": "845d7f75-beb6-9522-9710-9e4f0e560025", "code": "", "message": "", "output": {"text": null, "finish_reason": null, "choices": [{"finish_reason": "stop", "message": {"role": "assistant", "content": "entities:\n\n * binary_sensor.ljs_sw3_btn1\n\nservice:\n\n * turn_on\n\ndata:\n\n entity_id: binary_sensor.ljs_sw3_btn1"}}]}, "usage": {"input_tokens": 3937, "output_tokens": 34, "total_tokens": 3971}} |
|