Skip to content

fix: typescript indentation inconsistent or missing#1632

Merged
Lauren Hirata Singh (lnhsingh) merged 5 commits into
mainfrom
brendan/fix-indentation
Dec 1, 2025
Merged

fix: typescript indentation inconsistent or missing#1632
Lauren Hirata Singh (lnhsingh) merged 5 commits into
mainfrom
brendan/fix-indentation

Conversation

@bwhiting2356

@bwhiting2356 Brendan Whiting (bwhiting2356) commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

Overview

Fixed indentation in JavaScript/TypeScript code example in the LangSmith observability quickstart guide (link). The code inside function bodies was missing proper indentation, which could confuse readers and doesn't follow standard formatting conventions.

Type of change

Type: Fix typo/bug/link/formatting

Before:
Screenshot 2025-11-25 at 7 45 18 PM

After:
Screenshot 2025-11-25 at 7 46 34 PM

Related issues/PRs

  • GitHub issue: N/A

  • Feature PR: N/A

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly

Additional notes

This change improves code readability by adding proper 4-space indentation to the function bodies in the RAG example. The change is purely cosmetic and does not affect the functionality of the code. The indentation now follows standard JavaScript/TypeScript formatting conventions, making it easier for readers to understand the code structure.

Files changed:

  • src/langsmith/observability-quickstart.mdx - Fixed indentation in traceable RAG example (lines 311-338)

Note: This PR was created with assistance from an AI coding assistant.

@github-actions github-actions Bot added the langsmith For docs changes to LangSmith label Nov 26, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview ID generated: preview-brenda-1764128276-c8f9141

@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview ID generated: preview-brenda-1764128745-3cee627

@bwhiting2356
Brendan Whiting (bwhiting2356) marked this pull request as ready for review November 26, 2025 03:46
@bwhiting2356 Brendan Whiting (bwhiting2356) changed the title fix indentation fix: typescript indentation inconsistent or missing Nov 26, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview ID generated: preview-brenda-1764128992-8d1320d

@lnhsingh
Lauren Hirata Singh (lnhsingh) merged commit 560441c into main Dec 1, 2025
14 checks passed
@lnhsingh
Lauren Hirata Singh (lnhsingh) deleted the brendan/fix-indentation branch December 1, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

langsmith For docs changes to LangSmith

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants