-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:Update LangSmith OpenAPI: tracer sessions and organizations endpoints #182
Conversation
WalkthroughThe changes update the LangSmith OpenAPI specification by enhancing tracer session management and organization endpoints. In the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant API
participant TracerSessions
Client->>API: Request GET/DELETE/PATCH /sessions/{session_id}
API->>TracerSessions: Invoke corresponding method (read, delete, update)
TracerSessions-->>API: Return session data or status
API-->>Client: Response with session details or confirmation
sequenceDiagram
participant Client
participant API
participant Organizations
Client->>API: Request GET/POST/PATCH /orgs/...
API->>Organizations: Invoke organization method (list, create, update)
Organizations-->>API: Return organization info or confirmation
API-->>Client: Response with organization data
Possibly related PRs
Suggested Reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/libs/LangSmith/openapi.yaml (1)
2605-2606
: Enhance the endpoint description.The description should provide more details about the bulk validation operation, such as expected payload format, validation rules, and any limits on the number of examples that can be validated in a single request.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (3)
src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.ExamplesClient.ValidateExamples.g.cs
is excluded by!**/generated/**
src/libs/LangSmith/Generated/LangSmith.IExamplesClient.ValidateExamples.g.cs
is excluded by!**/generated/**
📒 Files selected for processing (1)
src/libs/LangSmith/openapi.yaml
(1 hunks)
🔇 Additional comments (2)
src/libs/LangSmith/openapi.yaml (2)
2618-2621
: LGTM! Proper security configuration.The endpoint is properly secured with multiple authentication methods (ApiKey, TenantId, BearerAuth), following the security pattern of other endpoints.
2601-2621
: Verify completeness of the changes.The AI summary mentions multiple changes to tracer sessions and organization endpoints, but the provided code segment only shows one new endpoint for bulk example validation. Let's verify if there are additional changes that need to be reviewed.
#!/bin/bash # Description: Search for tracer session and organization endpoints in the OpenAPI spec echo "Searching for tracer session endpoints..." rg -i "tracer.*session" src/libs/LangSmith/openapi.yaml echo "Searching for organization endpoints..." rg -i "organization" src/libs/LangSmith/openapi.yamlLikely an incorrect or invalid review comment.
Summary by CodeRabbit