Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openai-types/core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export declare class APIPromise<T> extends Promise<WithRequestID<T>> {
private parseResponse;
private parsedPromise;
constructor(responsePromise: Promise<APIResponseProps>, parseResponse?: (props: APIResponseProps) => PromiseOrValue<WithRequestID<T>>);
_thenUnwrap<U>(transform: (data: T) => U): APIPromise<U>;
_thenUnwrap<U>(transform: (data: T, props: APIResponseProps) => U): APIPromise<U>;
/**
* Gets the raw `Response` instance instead of parsing the response
* data.
Expand Down
21 changes: 21 additions & 0 deletions openai-types/internal/decoders/line.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
/**
* A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
* reading lines from text.
*
* https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
*/
export declare class LineDecoder {
static NEWLINE_CHARS: Set<string>;
static NEWLINE_REGEXP: RegExp;
buffer: string[];
trailingCR: boolean;
textDecoder: any;
constructor();
decode(chunk: Bytes): string[];
decodeText(bytes: Bytes): string;
flush(): string[];
}
export {};
//# sourceMappingURL=line.d.ts.map
2 changes: 1 addition & 1 deletion openai-types/version.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const VERSION = "4.67.1";
export declare const VERSION = "4.67.3";
//# sourceMappingURL=version.d.ts.map
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"@dexaai/eslint-config": "^1.3.0",
"eslint": "^8.57.0",
"np": "^10.0.7",
"openai": "^4.67.1",
"openai": "^4.67.3",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.6.2"
"typescript": "^5.6.3"
}
}
Loading