Download src/completion/index.ts from xjackkx/s2: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/spaces/xjackkx/s2/resolve/main/src/completion/index.ts
- Command line
-
hf download hf://spaces/xjackkx/s2/src/completion/index.ts
-
curl -L -o index.ts https://huggingface.co/spaces/xjackkx/s2/resolve/main/src/completion/index.ts
530 Bytes
| export { | |
| EMPTY_UPSTREAM_MSG, | |
| finalizeOpenAICompletionResult, | |
| upstreamEmptyWarning, | |
| } from "./turn"; | |
| export type { | |
| CompletionProvider, | |
| CompletionProviderOptions, | |
| CompletionRichOutput, | |
| CompletionTextInput, | |
| GeneratedImage, | |
| } from "./ports"; | |
| export type { | |
| CompletionStreamEvent, | |
| CompletionStreamLifecycle, | |
| } from "./runtime"; | |
| export { | |
| createCompletionStreamLifecycle, | |
| recordCompletionStreamEvent, | |
| streamBufferedToolTextCompletionEvents, | |
| streamPlainCompletionEvents, | |
| streamToolSieveCompletionEvents, | |
| } from "./runtime"; | |