Skip to content

Commit d629ff5

Browse files
committed
Fix tostring
Fixes #60
1 parent 5f157c8 commit d629ff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/eca/sidebar.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,8 @@ function M:_update_config_display()
10131013
return
10141014
end
10151015

1016-
local model = self.mediator:selected_model() or "unknown"
1017-
local behavior = self.mediator:selected_behavior() or "unknown"
1016+
local model = tostring(self.mediator:selected_model() or "unknown")
1017+
local behavior = tostring(self.mediator:selected_behavior() or "unknown")
10181018
local mcps = self.mediator:mcps()
10191019

10201020
local registered_count = vim.tbl_count(mcps)

0 commit comments

Comments
 (0)