mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
🪢 feat: Add Langfuse Tracing Support (#10292)
* 📦 feat: `@librechat/agents` v2.4.87 for LangFuse Support * 📦 chore: update @librechat/agents to v2.4.88 in package.json and package-lock.json * 📦 chore: update @librechat/agents to v2.4.89 * feat: Add runName configuration to AgentClient and Memory agent for improved tracing
This commit is contained in:
parent
0e05ff484f
commit
70ff6e94f2
5 changed files with 597 additions and 13 deletions
|
|
@ -775,6 +775,7 @@ class AgentClient extends BaseClient {
|
|||
const agentsEConfig = appConfig.endpoints?.[EModelEndpoint.agents];
|
||||
|
||||
config = {
|
||||
runName: 'AgentRun',
|
||||
configurable: {
|
||||
thread_id: this.conversationId,
|
||||
last_agent_index: this.agentConfigs?.size ?? 0,
|
||||
|
|
@ -1233,6 +1234,10 @@ class AgentClient extends BaseClient {
|
|||
handleLLMEnd,
|
||||
},
|
||||
],
|
||||
configurable: {
|
||||
thread_id: this.conversationId,
|
||||
user_id: this.user ?? this.options.req.user?.id,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue