Skip to content

Commit

Permalink
chore: Cleanup run endpoint fields
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith committed Oct 30, 2024
1 parent 83befa9 commit b80e161
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions sdk-node/src/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,26 +369,6 @@ export const definition = {
.enum(["claude-3-5-sonnet", "claude-3-5-sonnet:beta", "claude-3-haiku"])
.optional()
.describe("The model identifier for the run"),
result: z
.object({
// TODO: Remove in favour of onStatusChange
handler: z
.object({
service: z.string(),
function: z.string(),
})
.optional()
.describe(
"The Inferable function which will be used to return result for the run",
),
//TODO: Remove in favour of resultSchema
schema: z
.object({})
.passthrough()
.optional()
.describe("The JSON schema which the result should conform to"),
})
.optional(),
resultSchema: anyObject
.optional()
.describe(
Expand Down

0 comments on commit b80e161

Please sign in to comment.