mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-08-20 18:27:16 +02:00
fix: support absolute config paths in checkpoint manager
Co-Authored-By: Khaushik-keygraph <khaushik.contractor@keygraph.io>
This commit is contained in:
co-authored by
Khaushik-keygraph
parent
515ade8302
commit
39766d0afc
@@ -154,8 +154,8 @@ const runSingleAgent = async (agentName, session, pipelineTestingMode, runClaude
|
||||
// Handle relative config paths - prepend configs/ if needed
|
||||
let configPath = null;
|
||||
if (session.configFile) {
|
||||
configPath = session.configFile.startsWith('configs/')
|
||||
? session.configFile
|
||||
configPath = path.isAbsolute(session.configFile) || session.configFile.startsWith('configs/')
|
||||
? session.configFile
|
||||
: path.join('configs', session.configFile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user