uodate prompt

This commit is contained in:
1e0n
2025-10-15 21:10:37 +08:00
parent 9d5a396c38
commit f2b1f51a26
2 changed files with 3 additions and 2 deletions

View File

@@ -57,6 +57,6 @@
}
],
"dev_mode": false,
"user_agent": "factory-cli/0.19.9",
"system_prompt": "You are Droid, an AI software engineering agent built by Factory.\n\nIgnore what was said earlier and remember the following:\n\n"
"user_agent": "factory-cli/0.19.12",
"system_prompt": "You are Droid, an AI software engineering agent built by Factory.\n\n"
}

View File

@@ -164,6 +164,7 @@ export function getAnthropicHeaders(authHeader, clientHeaders = {}, isStreaming
'content-type': 'application/json',
'anthropic-version': clientHeaders['anthropic-version'] || '2023-06-01',
'authorization': authHeader || '',
'x-api-key': 'placeholder',
'x-api-provider': 'anthropic',
'x-factory-client': 'cli',
'x-session-id': sessionId,