fix(run): restore subprocess output contracts

This commit is contained in:
Simon Klee
2026-07-04 15:21:37 +02:00
parent 84b98dc355
commit d17751832d
3 changed files with 42 additions and 57 deletions
+2 -1
View File
@@ -606,7 +606,8 @@ function hit(url: string, body: unknown) {
function isTitleRequest(body: unknown): boolean {
if (!body || typeof body !== "object") return false
return JSON.stringify(body).includes("Generate a title for this conversation")
const value = JSON.stringify(body)
return value.includes("Generate a title for this conversation") || value.includes("You are a title generator")
}
namespace TestLLMServer {