mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +00:00
fix(image-analysis): clear runtime env on native-read fallback
Avoid carrying runtime API credentials and endpoint fields into native Read fallback launches. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
63082d4aed
commit
4cf826efa2
@@ -114,7 +114,9 @@ export function getImageAnalysisHookEnv(
|
||||
: '';
|
||||
const runtimePath = skipImageAnalysis ? '' : status.runtimePath || '';
|
||||
const runtimeBaseUrl =
|
||||
skipImageAnalysis || typeof context !== 'object' ? '' : context.cliproxyBridge?.currentBaseUrl || '';
|
||||
skipImageAnalysis || typeof context !== 'object'
|
||||
? ''
|
||||
: context.cliproxyBridge?.currentBaseUrl || '';
|
||||
|
||||
return {
|
||||
CCS_IMAGE_ANALYSIS_ENABLED: config.enabled ? '1' : '0',
|
||||
|
||||
Reference in New Issue
Block a user