ci: reserve output for GLM review conclusions
This commit is contained in:
1 parent
de0333effd
commit
9038586f5f
3 files changed
+9
-4
No files matched your search
@@ -137,7 +137,12 @@ async function reviewDiffs(context, includeDesignGuidelines) {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
env: ["PR_REVIEW_LLM_KEY"],
|
||||
options: { baseURL: base.href },
|
||||
models: { [model]: { limit: { context: 512_000, output: 16_384 } } },
|
||||
models: {
|
||||
[model]: {
|
||||
limit: { context: 512_000, output: 32_768 },
|
||||
options: { thinking: { type: "adaptive" }, effort: "low" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
agent: {
|
||||
@@ -162,7 +167,7 @@ async function reviewDiffs(context, includeDesignGuidelines) {
|
||||
cwd: directory,
|
||||
input,
|
||||
encoding: "utf8",
|
||||
timeout: 180_000,
|
||||
timeout: 360_000,
|
||||
maxBuffer: 1024 * 1024,
|
||||
env: {
|
||||
PATH: process.env.PATH,
|
||||
|
||||
Reference in new issue
Block a user