We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f07c06 commit 1ad0e25Copy full SHA for 1ad0e25
lua/codecompanion/strategies/inline/init.lua
@@ -436,7 +436,8 @@ function Inline:done(output)
436
end
437
438
-- There should always be a placement whether that's from the LLM or the user's prompt
439
- local placement = xml and string.lower(xml.placement) or string.lower(self.classification.placement)
+ local placement = xml and xml.placement or self.classification.placement
440
+ placement = string.lower(placement)
441
if not placement then
442
log:error("[%s] No placement returned", adapter_name)
443
return self:reset()
0 commit comments