🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(api): remove internal ticket references from comments (#16206)
Niklas Semmler9c46a077bb72
diff --git a/fern/apis/server/definition/commons.yml b/fern/apis/server/definition/commons.ymlindex 4ddd41cb2e..e6fa97c84d 100644--- a/fern/apis/server/definition/commons.yml+++ b/fern/apis/server/definition/commons.yml@@ -1,6 +1,6 @@types:# Migration signal attached as the top-level `_deprecation` key on responses- # from deprecated (legacy, pre-v4-data-model) endpoints. See LFE-10895.+ # from deprecated (legacy, pre-v4-data-model) endpoints.Deprecation:docs: Migration signal returned by deprecated endpoints. Optional fields are omitted when they have no value.properties:diff --git a/packages/shared/src/utils/zod.ts b/packages/shared/src/utils/zod.tsindex 2ff8a0f83f..e67d04c00a 100644--- a/packages/shared/src/utils/zod.ts+++ b/packages/shared/src/utils/zod.ts@@ -160,7 +160,7 @@ export const paginationMetaResponseZod = z.object({/*** Top-level `_deprecation` metadata returned by legacy public API endpoints.- * Optional fields are omitted when empty (never null). See LFE-10895.+ * Optional fields are omitted when empty (never null).*/export const deprecationResponseZod = z.object({message: z.string(),diff --git a/web/src/__tests__/server/deprecation-signal.servertest.ts b/web/src/__tests__/server/deprecation-signal.servertest.tsindex 03e656f03d..a373255e7c 100644--- a/web/src/__tests__/server/deprecation-signal.servertest.ts+++ b/web/src/__tests__/server/deprecation-signal.servertest.ts@@ -34,7 +34,7 @@ const maybeDescribe =? describe: describe.skip;-// LFE-10895: legacy (v3-data-model) endpoints attach a top-level `_deprecation`+// Legacy (v3-data-model) endpoints attach a top-level `_deprecation`// object so coding agents get a self-correcting migration signal.maybeDescribe("public API deprecation signal", () => {let auth: string;diff --git a/web/src/features/public-api/server/createAuthedProjectAPIRoute.ts b/web/src/features/public-api/server/createAuthedProjectAPIRoute.tsindex 2d5594e123..b309597578 100644--- a/web/src/features/public-api/server/createAuthedProjectAPIRoute.ts+++ b/web/src/features/public-api/server/createAuthedProjectAPIRoute.ts@@ -86,7 +86,7 @@ export type AuthedProjectAPIRouteConfig<* events_only mode and would silently return stale or empty data.*/rejectInEventsOnlyMode?: boolean;- /** Stamps a top-level `_deprecation` object onto responses (LFE-10895). */+ /** Stamps a top-level `_deprecation` object onto responses. */deprecation?: ApiDeprecationInfo;fn: (params: {query: z.infer<TQuery>;diff --git a/web/src/features/public-api/server/deprecations.ts b/web/src/features/public-api/server/deprecations.tsindex be8f0ab6d2..3d5dcb9ef8 100644--- a/web/src/features/public-api/server/deprecations.ts+++ b/web/src/features/public-api/server/deprecations.ts@@ -1,7 +1,7 @@import { type ApiDeprecationInfo } from "@langfuse/shared";import { OBSERVATIONS_API_V2_DOCS_URL } from "./rateLimitUpgradePaths";-// LFE-10895. Family-level deprecation signals for legacy (v3) public API+// Family-level deprecation signals for legacy (v3) public API// endpoints. Attach one via the `deprecation` route-config field; the response// gets a top-level `_deprecation` key.