mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-04 23:09:50 +00:00
test(app): retain gated legacy projection coverage
This commit is contained in:
parent
38df0b0c74
commit
be9d49c3f6
1 changed files with 4 additions and 4 deletions
|
|
@ -14,8 +14,8 @@ const projectID = "proj_context_resize_regression"
|
|||
const sessionID = "ses_context_resize_regression"
|
||||
const title = "Context resize regression"
|
||||
const model = { providerID: "opencode", modelID: "claude-opus-4-6", variant: "max" }
|
||||
const contextIDs = ["ctx_0100_read", "ctx_0101_glob", "ctx_0102_grep", "ctx_0103_list"]
|
||||
const followingTextID = `${id("msg_assistant", 10)}:text:0`
|
||||
const contextIDs = ["prt_0100_read", "prt_0101_glob", "prt_0102_grep", "prt_0103_list"]
|
||||
const followingTextID = "prt_0104_text"
|
||||
|
||||
type Message = {
|
||||
info: Record<string, unknown> & { id: string; role: "user" | "assistant" }
|
||||
|
|
@ -263,7 +263,7 @@ function turn(index: number, target: boolean, status: "running" | "completed" =
|
|||
),
|
||||
contextTool(contextIDs[3]!, assistantID, "list", { path: "src" }, status),
|
||||
{
|
||||
id: "prt_0104_text",
|
||||
id: followingTextID,
|
||||
sessionID,
|
||||
messageID: assistantID,
|
||||
type: "text",
|
||||
|
|
@ -295,7 +295,7 @@ function contextTool(
|
|||
sessionID,
|
||||
messageID,
|
||||
type: "tool",
|
||||
callID: partID,
|
||||
callID: `call_${partID}`,
|
||||
tool,
|
||||
state: {
|
||||
status,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue