Skip to content

Commit 90a451f

Browse files
bleddenclaude
andcommitted
chore: remove generated file changes per CONTRIBUTING.md
The TypeScript SDK repo does not accept direct changes to generated code. Only the OpenAPI spec change and E2E test should be included. The maintainers will regenerate the SDK after merging. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent c388e78 commit 90a451f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/completionresponse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
1919

2020
export type CompletionResponse = {
2121
id: string;
22-
object: "text_completion" | "chat.completion";
22+
object: "text_completion";
2323
created: number;
2424
model: string;
2525
provider?: string | undefined;
@@ -34,7 +34,7 @@ export const CompletionResponse$inboundSchema: z.ZodType<
3434
unknown
3535
> = z.object({
3636
id: z.string(),
37-
object: z.enum(["text_completion", "chat.completion"]),
37+
object: z.literal("text_completion"),
3838
created: z.number(),
3939
model: z.string(),
4040
provider: z.string().optional(),

0 commit comments

Comments
 (0)