File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ function M:handle_content(method, params)
211
211
local eca = require (" eca" )
212
212
local sidebar = eca .get (false )
213
213
if sidebar and params then
214
- sidebar :_handle_server_content (params )
214
+ sidebar :handle_chat_content_received (params )
215
215
end
216
216
end
217
217
end
Original file line number Diff line number Diff line change @@ -1172,7 +1172,7 @@ function M:_send_message(message)
1172
1172
-- Response will come through server notification handler
1173
1173
self :_add_input_line ()
1174
1174
1175
- self :_handle_server_content (result .params )
1175
+ self :handle_chat_content_received (result .params )
1176
1176
end )
1177
1177
else
1178
1178
self :_add_message (" assistant" , " ❌ **Error**: ECA server is not running. Please check server status." )
@@ -1181,7 +1181,7 @@ function M:_send_message(message)
1181
1181
end
1182
1182
1183
1183
--- @param params table Server content notification
1184
- function M :_handle_server_content (params )
1184
+ function M :handle_chat_content_received (params )
1185
1185
if not params or not params .content then
1186
1186
return
1187
1187
end
You can’t perform that action at this time.
0 commit comments