mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +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;
|
||||
secondaryModel: string;
|
||||
tags?: string[];
|
||||
envFile?: string | null;
|
||||
}
|
||||
|
||||
export interface CliConfig {
|
||||
@@ -184,7 +185,8 @@ export function getFullConfigResponse(baseDir: string): {
|
||||
enabled: tool.enabled,
|
||||
primaryModel: tool.primaryModel ?? '',
|
||||
secondaryModel: tool.secondaryModel ?? '',
|
||||
tags: tool.tags
|
||||
tags: tool.tags,
|
||||
envFile: tool.envFile
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user