-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
openai
dependency to version 4.71.1
- Loading branch information
1 parent
532d8c7
commit dcd9cd3
Showing
51 changed files
with
446 additions
and
695 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.