Prefer OpenRouter for LangGraph agent provider
This commit is contained in:
@@ -102,6 +102,7 @@ export async function runCrmAgentFor(
|
||||
): Promise<AgentReply> {
|
||||
const mode = (process.env.CF_AGENT_MODE ?? "langgraph").toLowerCase();
|
||||
const llmApiKey =
|
||||
process.env.OPENROUTER_API_KEY ||
|
||||
process.env.LLM_API_KEY ||
|
||||
process.env.OPENAI_API_KEY ||
|
||||
process.env.DASHSCOPE_API_KEY ||
|
||||
|
||||
Reference in New Issue
Block a user