mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
fix(e2e): switch archive-tab tests from codex to opencode provider
Codex CLI requires OAuth auth (~/.codex/auth.json) that CI lacks — OPENAI_API_KEY alone gets 401. These tests verify archive tab behavior, not any specific provider. Switch to opencode/gpt-5-nano which authenticates via standard OpenAI API that the CI key supports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ type ArchiveTabDaemonClient = {
|
|||||||
createAgent(options: {
|
createAgent(options: {
|
||||||
provider: string;
|
provider: string;
|
||||||
model: string;
|
model: string;
|
||||||
thinkingOptionId: string;
|
thinkingOptionId?: string;
|
||||||
modeId: string;
|
modeId: string;
|
||||||
cwd: string;
|
cwd: string;
|
||||||
title: string;
|
title: string;
|
||||||
@@ -108,10 +108,9 @@ export async function createIdleAgent(
|
|||||||
input: { cwd: string; title: string },
|
input: { cwd: string; title: string },
|
||||||
): Promise<ArchiveTabAgent> {
|
): Promise<ArchiveTabAgent> {
|
||||||
const created = await client.createAgent({
|
const created = await client.createAgent({
|
||||||
provider: "codex",
|
provider: "opencode",
|
||||||
model: "gpt-5.4-mini",
|
model: "opencode/gpt-5-nano",
|
||||||
thinkingOptionId: "low",
|
modeId: "default",
|
||||||
modeId: "full-access",
|
|
||||||
cwd: input.cwd,
|
cwd: input.cwd,
|
||||||
title: input.title,
|
title: input.title,
|
||||||
initialPrompt: "Reply with exactly READY.",
|
initialPrompt: "Reply with exactly READY.",
|
||||||
|
|||||||
Reference in New Issue
Block a user