Skip to content

Conversation

@bwhiting2356
Copy link
Contributor

@bwhiting2356 bwhiting2356 commented Nov 26, 2025

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
Contributor

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

@github-actions
Copy link
Contributor

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

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

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

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