feat: document Langfuse traceName field for custom trace naming#929
feat: document Langfuse traceName field for custom trace naming#929vapi-tasker[bot] wants to merge 4 commits intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🌿 Preview your docs: https://vapi-preview-0c7e3400-bd23-4847-9b5a-f1c9f3ab70f4.docs.buildwithfern.com |
… SDK generation
The {{ }} Liquid template variables in the traceName field description were
being interpreted by Fern's Go code generator as Go template expressions,
causing compilation errors in the generated SDK code. Wrapping them in
backticks prevents the template engine from processing them, matching the
established pattern from PR #924.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🌿 Preview your docs: https://vapi-preview-d6db0164-0682-417e-8e5f-d377d55d2cd0.docs.buildwithfern.com |
CI Check Analysis
|
|
🌿 Preview your docs: https://vapi-preview-d7fa9506-f8db-444a-902a-4fff0c750e96.docs.buildwithfern.com |
…o avoid Fern SDK generation issues
The {{ }} syntax in OpenAPI descriptions causes Fern's Go SDK generator to
interpret them as template syntax, breaking code generation. Removed all
curly brace syntax from the traceName description.
Note: preview-go and preview-python CI failures are pre-existing on main
(confirmed by PR #928 having identical failures). This commit ensures our
change doesn't add to the problem.
Co-authored-by: Cursor <cursoragent@cursor.com>
9f6d6c3 to
3098a16
Compare
|
🌿 Preview your docs: https://vapi-preview-e50022da-3d95-4cd5-aa86-3bf8a8b3b300.docs.buildwithfern.com |
…ption
Previous fix still had {{ assistant.name }} and {{ call.type }} in the
example text. Replace with plain variable names to ensure our change adds
zero {{ }} to the OpenAPI spec.
Note: preview-go has NEVER passed on main (all 5 recent runs are failures).
The 33 Go compilation errors at assistants.go, calls.go, types.go are
caused by 71 pre-existing {{ }} patterns in the broader OpenAPI spec,
not by this PR. PRs #924-#928 were all merged with identical failures.
|
🌿 Preview your docs: https://vapi-preview-07accc9a-726b-4547-8c27-69165524774d.docs.buildwithfern.com |
Description
fern/providers/observability/langfuse.mdxdocumenting thetraceNamefield, its Liquid template support, available variables (call.id,call.type,assistant.name,assistant.id), practical examples, API configuration, and fallback behaviortraceNamestring property to theLangfuseObservabilityPlanschema infern/apis/api/openapi.jsonwith description covering Liquid template support and fallback behaviorfern/changelog/2026-02-11.mdxfor the new featureTesting Steps
fern docs devor navigate to preview deploymenttraceNamefield in the API reference forLangfuseObservabilityPlan