mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
fix: include envFile in getFullConfigResponse API response
Fixes #96 - gemini/qwen envFile setting was lost after page refresh because getFullConfigResponse() was not including the envFile field when converting config to the legacy API format. Changes: - Add envFile?: string | null to CliToolConfig interface - Include envFile in getFullConfigResponse() conversion
This commit is contained in:
@@ -29,6 +29,7 @@ export interface CliToolConfig {
|
|||||||
primaryModel: string;
|
primaryModel: string;
|
||||||
secondaryModel: string;
|
secondaryModel: string;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
|
envFile?: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CliConfig {
|
export interface CliConfig {
|
||||||
@@ -184,7 +185,8 @@ export function getFullConfigResponse(baseDir: string): {
|
|||||||
enabled: tool.enabled,
|
enabled: tool.enabled,
|
||||||
primaryModel: tool.primaryModel ?? '',
|
primaryModel: tool.primaryModel ?? '',
|
||||||
secondaryModel: tool.secondaryModel ?? '',
|
secondaryModel: tool.secondaryModel ?? '',
|
||||||
tags: tool.tags
|
tags: tool.tags,
|
||||||
|
envFile: tool.envFile
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user