Download packages/coding-agent/src/bun/runtime-setup.ts from SaylorTwift/pi: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/src/bun/runtime-setup.ts
- Command line
-
hf download hf://SaylorTwift/pi/packages/coding-agent/src/bun/runtime-setup.ts
-
curl -L -o runtime-setup.ts https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/src/bun/runtime-setup.ts
432 Bytes
| import { bedrockProviderModule } from "@earendil-works/pi-ai/bedrock-provider"; | |
| import { registerBunOAuthFlows } from "@earendil-works/pi-ai/bun-oauth"; | |
| import { setBedrockProviderModule } from "@earendil-works/pi-ai/compat"; | |
| import { APP_NAME } from "../config.ts"; | |
| process.title = APP_NAME; | |
| process.emitWarning = (() => {}) as typeof process.emitWarning; | |
| registerBunOAuthFlows(); | |
| setBedrockProviderModule(bedrockProviderModule); | |