Files
DronePlanning/logs/fastapi.log

56 lines
4.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2025-12-06 13:42:09,376 - INFO - Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.
2025-12-06 13:42:09,460 - ERROR - 在系统提示词中未找到'可用节点定义'部分的JSON代码块。
2025-12-06 13:42:09,460 - WARNING - 使用备用方案解析节点定义...
2025-12-06 13:42:09,460 - INFO - 从第1个JSON块中成功解析出节点定义
2025-12-06 13:42:09,461 - INFO - 动作节点: ['battle_damage_assessment', 'deliver_payload', 'fly_to_waypoint', 'land', 'loiter', 'move_direction', 'object_detect', 'orbit_around_point', 'orbit_around_target', 'preflight_checks', 'search_pattern', 'strike_target', 'take_picture', 'takeoff', 'track_object']
2025-12-06 13:42:09,461 - INFO - 条件节点: ['at_waypoint', 'object_detected', 'target_destroyed', 'time_elapsed']
INFO: Started server process [3031182]
INFO: Waiting for application startup.
2025-12-06 13:42:09,463 - INFO - WebSocket event loop configured.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2025-12-06 13:42:10,978 - INFO - 接收到用户请求: 无人机起飞到80米高度后先移动至搜索区搜索并锁定任一红色车辆跟踪接近距离目标车辆10m后进行拍照完成拍照后返回。
2025-12-06 13:42:11,392 - INFO - HTTP Request: POST http://localhost:8081/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-06 13:42:11,395 - INFO - 分类结果: complex
2025-12-06 13:42:11,395 - INFO - --- 开始从向量数据库检索上下文 ---
2025-12-06 13:42:11,467 - INFO - --- 成功检索到上下文信息 ---
2025-12-06 13:42:11,467 - INFO - 📚 检索到的上下文内容:
在地图上有一个名为 '跷跷板' 的地点或区域它的leisure是'playground',其中心位置坐标大约在 (x:15, y:-8.5, z:1.2)。
在地图上有一个名为 'A地' 的地点或区域它的building是'commercial',其中心位置坐标大约在 (x:10, y:-10, z:2)。
在地图上有一个名为 '学生宿舍' 的地点或区域它的building是'dormitory',其中心位置坐标大约在 (x:5, y:3, z:2)。
2025-12-06 13:42:11,467 - INFO - --- 第 1/3 次尝试生成Pytree ---
2025-12-06 13:42:21,443 - INFO - HTTP Request: POST http://localhost:8081/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-06 13:42:21,447 - INFO - ✅ JSON Schema验证成功
2025-12-06 13:42:21,447 - INFO - ✅ 成功生成并验证了Pytree
2025-12-06 13:42:21,507 - INFO - ✅ 任务树可视化成功
2025-12-06 13:42:21,507 - INFO - 图形已保存到: /home/huangfukk/DronePlanning/backend_service/generated_visualizations/py_tree.png
2025-12-06 13:42:21,507 - INFO - 未在模型输出中发现 <think> 推理链片段。若需捕获,请设置 ENABLE_REASONING_CAPTURE=true 以放宽JSON强制格式。
INFO: 127.0.0.1:38420 - "POST /generate_plan HTTP/1.1" 200 OK
INFO: 127.0.0.1:38430 - "GET /docs HTTP/1.1" 200 OK
2025-12-06 13:42:24,416 - INFO - 接收到用户请求: 无人机起飞到80米高度后先移动至搜索区搜索并锁定任一红色车辆跟踪接近距离目标车辆10m后进行拍照完成拍照后返回。
2025-12-06 13:42:24,809 - INFO - HTTP Request: POST http://localhost:8081/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-06 13:42:24,809 - INFO - 分类结果: complex
2025-12-06 13:42:24,809 - INFO - --- 开始从向量数据库检索上下文 ---
2025-12-06 13:42:24,842 - INFO - --- 成功检索到上下文信息 ---
2025-12-06 13:42:24,842 - INFO - 📚 检索到的上下文内容:
在地图上有一个名为 '跷跷板' 的地点或区域它的leisure是'playground',其中心位置坐标大约在 (x:15, y:-8.5, z:1.2)。
在地图上有一个名为 'A地' 的地点或区域它的building是'commercial',其中心位置坐标大约在 (x:10, y:-10, z:2)。
在地图上有一个名为 '学生宿舍' 的地点或区域它的building是'dormitory',其中心位置坐标大约在 (x:5, y:3, z:2)。
2025-12-06 13:42:24,842 - INFO - --- 第 1/3 次尝试生成Pytree ---
2025-12-06 13:42:34,645 - INFO - HTTP Request: POST http://localhost:8081/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-06 13:42:34,647 - INFO - ✅ JSON Schema验证成功
2025-12-06 13:42:34,647 - INFO - ✅ 成功生成并验证了Pytree
2025-12-06 13:42:34,695 - INFO - ✅ 任务树可视化成功
2025-12-06 13:42:34,695 - INFO - 图形已保存到: /home/huangfukk/DronePlanning/backend_service/generated_visualizations/py_tree.png
2025-12-06 13:42:34,695 - INFO - 未在模型输出中发现 <think> 推理链片段。若需捕获,请设置 ENABLE_REASONING_CAPTURE=true 以放宽JSON强制格式。
INFO: 127.0.0.1:51574 - "POST /generate_plan HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
2025-12-06 13:46:44,939 - INFO - Backend service shutting down.
INFO: Application shutdown complete.
INFO: Finished server process [3031182]