Use normalized model references in the real check

This commit is contained in:
2026-11-12 20:37:29 +00:00
parent 426e6c7f13
commit 80500b2294
+1 -1
View File
@@ -147,7 +147,7 @@ Do not inspect files. Do not diagnose failures. Do not change configuration. Do
loop {
let conversations = (api $base conversations | get conversations)
let matches = ($conversations | where {|c|
($c.agent?.model? | default '') == $agent.model
($c.agent?.model?.provider? | default '') + '/' + ($c.agent?.model?.modelId? | default '') == $agent.model
})
if not ($matches | is-empty) { $id = ($matches | first | get id); break }
require ((date now) < $deadline) $'No conversation for ($agent.model)'