Add Hermes Agent package fallback and xAI OAuth (#808)
This commit is contained in:
@@ -47,6 +47,12 @@ function pathCandidates(agentRoot?: string): string[] {
|
||||
}
|
||||
|
||||
function uvCandidates(agentRoot?: string): string[] {
|
||||
if (!agentRoot) {
|
||||
return [
|
||||
process.env.HERMES_AGENT_BRIDGE_UV,
|
||||
process.env.UV,
|
||||
].filter((value): value is string => !!value && value.trim().length > 0)
|
||||
}
|
||||
return [
|
||||
process.env.HERMES_AGENT_BRIDGE_UV,
|
||||
process.env.UV,
|
||||
|
||||
Reference in New Issue
Block a user