test(apps): configure workspace context in loader fixtures

This commit is contained in:
Tianyi Cui
2026-07-12 12:15:05 +08:00
parent e9a54f0e71
commit 1795dc6e19
3 changed files with 3 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ async function makeConsumer(): Promise<string> {
' config:',
' model: deepseek-v4-flash',
' persona: \'test agent\'',
' workspaceContext: false',
'',
].join('\n'))
return dir

View File

@@ -55,6 +55,7 @@ const CORDIS_YML = `
config:
model: deepseek-v4-flash
persona: 'You are a test agent.'
workspaceContext: false
`
interface Spawned {

View File

@@ -93,6 +93,7 @@ async function makeConsumer(welcome: string, disabledBrokenEntry = false): Promi
' config:',
' model: mock-echo',
' persona: \'demo\'',
' workspaceContext: false',
` welcome: '${welcome}'`,
...disabledBrokenEntry
? ['- id: off', ' name: \'./src/does-not-exist.ts\'', ' disabled: true']