LibreChat/packages/api/src/langfuse
Atef Bellaaj a2cd772d49
🏭 refactor: Centralize Source Prompt Imports in the Prompt Service (#17272)
PromptService gains importSourceGroup, which finds or creates a source
pointer group, grants the PUBLIC viewer role and rolls the group back if
the grant fails. The Langfuse catalog sync calls it instead of four
storage callbacks and two Mongo error predicates, and the prompt service
is composed once in api/server/services/Prompts.js and passed to the
prompt routes, linked instructions, instructions prompt access and the
Langfuse sync runner.

Co-authored-by: Rebase Probe <probe@example.com>
2026-10-24 13:51:31 +02:00
..
config.spec.ts 🕶️ fix: Keep Temporary Chats Out of Langfuse (#17202) 2026-10-17 11:57:35 +02:00
config.ts 🕶️ fix: Keep Temporary Chats Out of Langfuse (#17202) 2026-10-17 11:57:35 +02:00
destinations.spec.ts ⛲ feat: Resolve Native and Langfuse Prompts by Source (#16909) 2026-10-24 13:47:52 +02:00
destinations.ts ⛲ feat: Resolve Native and Langfuse Prompts by Source (#16909) 2026-10-24 13:47:52 +02:00
feedback.spec.ts 🕶️ fix: Keep Temporary Chats Out of Langfuse (#17202) 2026-10-17 11:57:35 +02:00
feedback.ts 🕶️ fix: Keep Temporary Chats Out of Langfuse (#17202) 2026-10-17 11:57:35 +02:00
identity.spec.ts 🪬 feat: Configure Langfuse Trace User Identity and Metadata (#15667) 2026-09-06 17:30:23 -04:00
identity.ts 🔭 feat: Conversation Trace Viewer (#15869) 2026-09-13 00:56:52 -04:00
index.ts 🎴 feat: Use Langfuse Prompts from Cards and the Slash Command (#17104) 2026-10-24 13:51:01 +02:00
links.spec.ts 🎴 feat: Use Langfuse Prompts from Cards and the Slash Command (#17104) 2026-10-24 13:51:01 +02:00
links.ts 🎴 feat: Use Langfuse Prompts from Cards and the Slash Command (#17104) 2026-10-24 13:51:01 +02:00
policy.spec.ts 🏬 feat: Sync Langfuse Prompts into the Catalog (#17095) 2026-10-24 13:48:52 +02:00
policy.ts 🏬 feat: Sync Langfuse Prompts into the Catalog (#17095) 2026-10-24 13:48:52 +02:00
prompt.spec.ts 💬 feat: Read a Model Call as a Conversation in the Trace Viewer (#16103) 2026-09-19 18:14:08 -04:00
prompt.ts 💬 feat: Read a Model Call as a Conversation in the Trace Viewer (#16103) 2026-09-19 18:14:08 -04:00
promptCatalogSync.spec.ts 🏭 refactor: Centralize Source Prompt Imports in the Prompt Service (#17272) 2026-10-24 13:51:31 +02:00
promptCatalogSync.ts 🏭 refactor: Centralize Source Prompt Imports in the Prompt Service (#17272) 2026-10-24 13:51:31 +02:00
prompts.spec.ts 🏬 feat: Sync Langfuse Prompts into the Catalog (#17095) 2026-10-24 13:48:52 +02:00
prompts.ts 🏬 feat: Sync Langfuse Prompts into the Catalog (#17095) 2026-10-24 13:48:52 +02:00
promptSync.spec.ts ⛲ feat: Resolve Native and Langfuse Prompts by Source (#16909) 2026-10-24 13:47:52 +02:00
promptSync.ts ⛲ feat: Resolve Native and Langfuse Prompts by Source (#16909) 2026-10-24 13:47:52 +02:00
promptSyncRunner.spec.ts 🏭 refactor: Centralize Source Prompt Imports in the Prompt Service (#17272) 2026-10-24 13:51:31 +02:00
promptSyncRunner.ts 🏭 refactor: Centralize Source Prompt Imports in the Prompt Service (#17272) 2026-10-24 13:51:31 +02:00
reader.spec.ts ✂️ refactor: Name Tool Rounds From the Trace, and Match a Cut Response From Its End (#16113) 2026-09-20 08:24:33 -04:00
reader.ts ✂️ refactor: Name Tool Rounds From the Trace, and Match a Cut Response From Its End (#16113) 2026-09-20 08:24:33 -04:00
roles.spec.ts 🗣️ feat: Trace Viewer Roles, Agent Identity and Tool Rounds (#16098) 2026-09-19 16:43:42 -04:00
roles.ts ✂️ refactor: Name Tool Rounds From the Trace, and Match a Cut Response From Its End (#16113) 2026-09-20 08:24:33 -04:00
rounds.spec.ts ✂️ refactor: Name Tool Rounds From the Trace, and Match a Cut Response From Its End (#16113) 2026-09-20 08:24:33 -04:00
rounds.ts ✂️ refactor: Name Tool Rounds From the Trace, and Match a Cut Response From Its End (#16113) 2026-09-20 08:24:33 -04:00
session.ts 🔭 feat: Conversation Trace Viewer (#15869) 2026-09-13 00:56:52 -04:00
tenantDestinations.ts 🪢 feat: Custom Request Headers For Langfuse (#14945) 2026-08-17 20:39:23 -04:00
trace.spec.ts 🔭 feat: Conversation Trace Viewer (#15869) 2026-09-13 00:56:52 -04:00
trace.ts 🔭 feat: Conversation Trace Viewer (#15869) 2026-09-13 00:56:52 -04:00
utils.ts ⛲ feat: Resolve Native and Langfuse Prompts by Source (#16909) 2026-10-24 13:47:52 +02:00