We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e2d7bb commit 2b5b01eCopy full SHA for 2b5b01e
multimodal/tarko/agent-cli/src/config/loader.ts
@@ -131,8 +131,9 @@ export async function loadAgentConfig(
131
for (const path of configPaths) {
132
let config: AgentAppConfig = {};
133
134
- if (isUrl(path)) {
+ if (isUrl(path) && !existsSync(path)) {
135
// Load from URL
136
+ // Note: a local file can be a valid URL, but we can not fetch it
137
config = await loadRemoteConfig(path, isDebug);
138
} else {
139
// Load from file
0 commit comments