MCPcopy Index your code
hub / github.com/anomalyco/opencode / isTitleRequest

Function isTitleRequest

packages/opencode/test/lib/llm-server.ts:607–610  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

605}
606
607function isTitleRequest(body: unknown): boolean {
608 if (!body || typeof body !== "object") return false
609 return JSON.stringify(body).includes("Generate a title for this conversation")
610}
611
612namespace TestLLMServer {
613 export interface Service {

Callers 1

TestLLMServerClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected