Download packages/agent-core-v2/src/app/web/web.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/app/web/web.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/app/web/web.ts
-
curl -L -o web.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/app/web/web.ts
526 Bytes
| import { createDecorator, type ServiceIdentifier } from '#/_base/di/instantiation'; | |
| import type { UrlFetcher } from './tools/fetch-url-types'; | |
| export type { UrlFetcher, UrlFetchKind, UrlFetchResult } from './tools/fetch-url-types'; | |
| export { HttpFetchError } from './tools/fetch-url-types'; | |
| export interface IWebFetchService { | |
| readonly _serviceBrand: undefined; | |
| getUrlFetcher(): UrlFetcher; | |
| } | |
| export const IWebFetchService: ServiceIdentifier<IWebFetchService> = | |
| createDecorator<IWebFetchService>('webFetchService'); | |