refactor(FN-2161): standardize on createFnAgent naming
- Rename engine export and call sites to use createFnAgent consistently across runtime flows - Update core lazy engine loader and dashboard agent-generation/planning/chat paths to reference createFnAgent - Refresh affected unit and integration tests, including renaming pi-create-kb-agent.test.ts to pi-create-fn-agent.test.ts - Update AGENTS.md documentation references to match the new createFnAgent name
This commit is contained in:
@@ -110,7 +110,7 @@ function formatModelTag(provider?: string | null, modelId?: string | null): stri
|
||||
|
||||
/**
|
||||
* Constant agent ID for the built-in kb agent.
|
||||
* The chat system always uses createKbAgent with CHAT_SYSTEM_PROMPT regardless
|
||||
* The chat system always uses createFnAgent with CHAT_SYSTEM_PROMPT regardless
|
||||
* of the agentId stored on the session. This ID serves as metadata only.
|
||||
*/
|
||||
const KB_AGENT_ID = "__kb_agent__";
|
||||
|
||||
Reference in New Issue
Block a user