I (45600) VolcRtcProtocol: 接收下行消息: info
[INF|volc_rtc.c:475]message received channel=aibotrtc_G711A_Airhub_zwq_20251217114202000 src=bot_20251217114202000 size=294 binary=1 free_heap=7944152
I (45970) VolcRtcProtocol: 接收下行二进制消息(tool): {
        "subscriber_user_id" : "",
        "tool_calls" : 
        [
                {
                        "function" : 
                        {
                                "arguments" : "{\"lang\":\"zh_CN\",\"location\":\"\u5e7f\u5dde\",\"name\":\"get_weather\"}",
                                "name" : "get_weather_aihub"
                        },
                        "id" : "call_qbcaurqnf2z3jh044kk68y1n",
                        "type" : "function"
                }
        ]
}
I (45970) Application: 工具调用: name=get_weather_aihub arguments={"lang":"zh_CN","location":"广州","name":"get_weather"}
I (45970) Application: [WeatherAPI] ===== 收到get_weather_aihub工具调用 =====
I (45970) Application: [WeatherAPI] 参数对象检查:
I (45970) Application: [WeatherAPI]   lang: zh_CN
I (45970) Application: [WeatherAPI]   location: 广州
I (45970) Application: [WeatherAPI]   name: get_weather
I (45970) Application: [WeatherAPI] location参数存在: 是, 类型: 字符串
I (45970) Application: [WeatherAPI] lang参数存在: 是, 类型: 字符串
I (45970) Application: [WeatherAPI] 提取的参数值: location='广州' (长度: 6), lang='zh_CN'
I (45970) Application: [WeatherAPI] call_id_item存在: 是
I (45970) Application: [WeatherAPI] 获取的call_id: 'call_qbcaurqnf2z3jh044kk68y1n'
I (45970) Application: [WeatherAPI] 准备创建异步任务处理天气API调用
I (45970) Application: [WeatherAPI] 异步任务已调度，将在后台执行
I (45970) Application: [WeatherAPI] 异步任务开始执行
I (45970) Application: [WeatherAPI] ===== get_weather_aihub工具调用响应已发送 =====
I (45970) Application: [WeatherAPI] 准备调用全局函数GetWeatherInfo(location='�t0<', lang='')
I (45980) WeatherApi: [GetWeatherInfo] ===== 全局函数调用开始 =====
2025-12-17 11:42:29.981 [W]  EngineImplX.c:1047 callback pEngineImplX->eventHandler.on_message_received used too many times 5
I (45980) WeatherApi: [GetWeatherInfo] 收到调用请求，location='�t0<' (长度: 5), lang=''
I (45980) WeatherApi: [GetWeatherInfo] 准备调用g_weather_api.GetWeather
I (45980) WeatherApi: [GetWeather] ===== 开始获取天气信息 =====
I (45980) WeatherApi: [GetWeather] 输入参数: location='�t0<' (长度: 5), lang=''
I (45980) WeatherApi: [GetWeather] 查询位置: '�t0<'
--- Warning: Failed to decode multiple lines in a row. Try checking the baud rate and XTAL frequency setting in menuconfig
I (45980) WeatherApi: [GetWeather] 缓存键: 'weather_�t0<'
I (45980) WeatherApi: [GetWeather] 缓存未命中，开始获取天气信息: '�t0<'
I (45980) WeatherApi: [GetWeather] 开始获取城市ID
I (45980) WeatherApi: [FetchCityInfo] 开始获取城市信息，location参数: '�t0<', 长度: 5
I (45980) WeatherApi: [FetchCityInfo] URL编码后: '%88t0%3C%14'
I (45980) WeatherApi: [FetchCityInfo] API主机: 'kq3aapg9h5.re.qweatherapi.com', API密钥长度: 32
I (45980) WeatherApi: [FetchCityInfo] 查询城市信息URL: 'https://kq3aapg9h5.re.qweatherapi.com/geo/v2/city/lookup?key=aa5ec0859c144ac7b33966e25eef5580&location=%88t0%3C%14&lang=zh'
I (45980) WeatherApi: [FetchCityInfo] 开始发送HTTP GET请求
I (45980) WeatherApi: HTTP请求: https://kq3aapg9h5.re.qweatherapi.com/geo/v2/city/lookup?key=aa5ec0859c144ac7b33966e25eef5580&location=%88t0%3C%14&lang=zh
E (46030) esp-tls-mbedtls: No server verification option set in esp_tls_cfg_t structure. Check esp_tls API reference
E (46030) esp-tls-mbedtls: Failed to set client configurations, returned [0x8017] (ESP_ERR_MBEDTLS_SSL_SETUP_FAILED)
E (46030) esp-tls: create_ssl_handle failed
E (46030) esp-tls: Failed to open new connection
E (46030) transport_base: Failed to open a new connection
E (46040) HTTP_CLIENT: Connection failed, sock < 0
E (46040) WeatherApi: HTTP请求执行失败: ESP_ERR_HTTP_CONNECT
E (46140) WeatherApi: [FetchCityInfo] HTTP请求失败
I (46140) WeatherApi: [FetchCityInfo] 函数结束，返回空字符串
I (46140) WeatherApi: [GetWeather] FetchCityInfo返回结果: city_id='' (长度: 0)
I (46140) WeatherApi: [GetWeather] 未找到相关城市信息，请确认城市名称是否正确
I (46140) WeatherApi: [GetWeather] ===== 天气信息获取失败 (城市ID为空) =====
I (46140) WeatherApi: [GetWeatherInfo] g_weather_api.GetWeather调用完成，结果长度: 63 字节
I (46140) WeatherApi: [GetWeatherInfo] ===== 全局函数调用结束 =====
I (46140) Application: [WeatherAPI] GetWeatherInfo调用完成，结果长度: 63 字节
I (46140) Application: [WeatherAPI] 准备发送天气结果响应
I (46140) Application: [WeatherAPI] 使用call_id发送FunctionResult: 'call_qbcaurqnf2z3jh044kk68y1n'
I (46140) Application: [WeatherAPI] FunctionResult发送成功
I (46140) Application: [WeatherAPI] ===== get_weather_aihub异步任务处理完成 =====
2025-12-17 11:42:31.223 [I]  rx_net_audio_jitterbuffer.c:1537 [a_jb]insert ok:dup:total 0:0:0,in: jitter nor=0 reor=0, wj=39, out: pkt=0 t_diff=0 seq_diff=0 buffer_ms=0 target_ms=100 expand_npkt=100 expand_loss=0 start_seq 0 end_seq 0
I (47250) Application: dialog对话空闲倒计时剩余: 37 秒
I (47580) VolcRtcProtocol: 上行音频统计: PCM帧=50 字节=16000, G711A帧=0 字节=0, 速率=63698 bps
I (47580) VolcRtcProtocol: 下行音频统计: PCM字节=0, OPUS字节=0
2025-12-17 11:42:33.247 [I]  rx_net_audio_jitterbuffer.c:1537 [a_jb]insert ok:dup:total 0:0:0,in: jitter nor=0 reor=0, wj=39, out: pkt=0 t_diff=0 seq_diff=0 buffer_ms=0 target_ms=100 expand_npkt=101 expand_loss=0 start_seq 0 end_seq 0
I (49250) Application: dialog对话空闲倒计时剩余: 35 秒
I (49590) VolcRtcProtocol: 上行音频统计: PCM帧=50 字节=16000, G711A帧=0 字节=0, 速率=63680 bps
I (49590) VolcRtcProtocol: 下行音频统计: PCM字节=0, OPUS字节=0