Skip to content

Commit be4908e

Browse files
committed
chore(langsmith): drop an apostrophe that made docs generation non-idempotent
The docs generator escapes an apostrophe inside a param description differently on successive runs, so docs:check flip-flopped on this file. Rewording sidesteps it; the generator's escaper is the real fix and belongs in its own change. Verified stable across two consecutive check runs.
1 parent f267eac commit be4908e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/docs/content/docs/en/integrations/langsmith.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Attach a score, correction, or comment to a LangSmith run.
149149
| --------- | ---- | -------- | ----------- |
150150
| `apiKey` | string | Yes | LangSmith API key |
151151
| `runId` | string | Yes | ID of the run to attach feedback to |
152-
| `sessionId` | string | No | UUID of the tracing project \(session\) the feedback belongs to. Optional — in LangSmith\'s OpenAPI spec only `key` is required by POST /api/v1/feedback, and the official SDK sends feedback without a session_id. Supply it when you have it: some LangSmith deployments cannot locate the run without it. Never guess it — use the sessionId reported by a preceding langsmith_get_run for the same run, or look the project up with GET /api/v1/sessions. |
152+
| `sessionId` | string | No | UUID of the tracing project \(session\) the feedback belongs to. Optional — in the LangSmith OpenAPI spec only `key` is required by POST /api/v1/feedback, and the official SDK sends feedback without a session_id. Supply it when you have it: some LangSmith deployments cannot locate the run without it. Never guess it — use the sessionId reported by a preceding langsmith_get_run for the same run, or look the project up with GET /api/v1/sessions. |
153153
| `key` | string | Yes | Feedback metric name \(e.g. "correctness", "user_score"\) |
154154
| `score` | number | No | Numeric score for the feedback metric |
155155
| `value` | string | No | Categorical value for the feedback metric, e.g. "good". A JSON scalar or object typed here \("1", "true", \'\{"label":"good"\}\'\) is sent with its JSON type; anything else is sent as a string. |

apps/sim/tools/generated/tool-metadata.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

apps/sim/tools/langsmith/create_feedback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const langsmithCreateFeedbackTool: ToolConfig<
3838
required: false,
3939
visibility: 'user-or-llm',
4040
description:
41-
'UUID of the tracing project (session) the feedback belongs to. Optional — in LangSmith\'s OpenAPI spec only `key` is required by POST /api/v1/feedback, and the official SDK sends feedback without a session_id. Supply it when you have it: some LangSmith deployments cannot locate the run without it. Never guess it — use the sessionId reported by a preceding langsmith_get_run for the same run, or look the project up with GET /api/v1/sessions.',
41+
"UUID of the tracing project (session) the feedback belongs to. Optional — in the LangSmith OpenAPI spec only `key` is required by POST /api/v1/feedback, and the official SDK sends feedback without a session_id. Supply it when you have it: some LangSmith deployments cannot locate the run without it. Never guess it — use the sessionId reported by a preceding langsmith_get_run for the same run, or look the project up with GET /api/v1/sessions.",
4242
},
4343
key: {
4444
type: 'string',

0 commit comments

Comments
 (0)