Skip to content

Commit 4b3f498

Browse files
committed
fix positioning of outputs
1 parent 1e58638 commit 4b3f498

2 files changed

Lines changed: 17 additions & 21 deletions

File tree

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ Forward a single run to LangSmith for ingestion.
3535

3636
#### Output
3737

38-
| Parameter | Type | Description |
39-
| --------- | ---- | ----------- |
40-
| `accepted` | boolean | Whether the run was accepted for ingestion |
41-
| `runId` | string | Run identifier provided in the request |
42-
| `message` | string | Response message from LangSmith |
38+
This tool does not produce any outputs.
4339

4440
### `langsmith_create_runs_batch`
4541

apps/sim/tools/langsmith/create_run.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,22 @@ export const langsmithCreateRunTool: ToolConfig<
146146
)
147147
},
148148
},
149+
outputs: {
150+
accepted: {
151+
type: 'boolean',
152+
description: 'Whether the run was accepted for ingestion',
153+
},
154+
runId: {
155+
type: 'string',
156+
description: 'Run identifier provided in the request',
157+
optional: true,
158+
},
159+
message: {
160+
type: 'string',
161+
description: 'Response message from LangSmith',
162+
optional: true,
163+
},
164+
},
149165
transformResponse: async (response, params) => {
150166
const runId = params ? normalizeLangsmithRunPayload(params).runId : null
151167
const data = (await response.json()) as Record<string, unknown>
@@ -169,20 +185,4 @@ export const langsmithCreateRunTool: ToolConfig<
169185
},
170186
}
171187
},
172-
outputs: {
173-
accepted: {
174-
type: 'boolean',
175-
description: 'Whether the run was accepted for ingestion',
176-
},
177-
runId: {
178-
type: 'string',
179-
description: 'Run identifier provided in the request',
180-
optional: true,
181-
},
182-
message: {
183-
type: 'string',
184-
description: 'Response message from LangSmith',
185-
optional: true,
186-
},
187-
},
188188
}

0 commit comments

Comments
 (0)