mirror of
https://github.com/stablyai/orca.git
synced 2026-10-24 00:04:01 +00:00
fix stub
This commit is contained in:
@@ -33,7 +33,7 @@ export async function configureGoldenStubAgent(
|
||||
): Promise<void> {
|
||||
const agent = options.agent ?? 'codex'
|
||||
await page.evaluate(
|
||||
async ({ agent, windowsShell }) => {
|
||||
async ({ agent, agentArgs, windowsShell }) => {
|
||||
const store = window.__store
|
||||
if (!store) {
|
||||
throw new Error('Orca store is unavailable')
|
||||
@@ -41,7 +41,7 @@ export async function configureGoldenStubAgent(
|
||||
await store.getState().updateSettings({
|
||||
defaultTuiAgent: agent,
|
||||
agentCmdOverrides: { [agent]: 'golden-stub-agent' },
|
||||
agentDefaultArgs: { [agent]: options.agentArgs ?? '' },
|
||||
agentDefaultArgs: { [agent]: agentArgs },
|
||||
...(windowsShell ? { terminalWindowsShell: windowsShell } : {})
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user