repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | /** |
| #2 | * DeepSeek Inference Client |
| #3 | * |
| #4 | * Implements the InferenceClient interface using DeepSeek's OpenAI-compatible API. |
| #5 | * Supports thinking mode via reasoning_effort and extra_body. |
| #6 | * Replaces CLAWD Runtime's default inference when using DeepSeek models. |
| #7 | */ |
| #8 | import type { InferenceClient } from "../types.js"; |
| #9 | export declare const DEEPSEEK_BASE_URL = "https://api.deepseek.com"; |
| #10 | export declare const DEEPSEEK_MODEL_PRO = "deepseek-v4-pro"; |
| #11 | export declare const DEEPSEEK_MODEL_FLASH = "deepseek-v4-flash"; |
| #12 | interface DeepSeekInferenceClientOptions { |
| #13 | apiKey: string; |
| #14 | baseUrl?: string; |
| #15 | defaultModel?: string; |
| #16 | maxTokens?: number; |
| #17 | flashModel?: string; |
| #18 | proModel?: string; |
| #19 | } |
| #20 | /** |
| #21 | * Create a DeepSeek inference client that conforms to the |
| #22 | * InferenceClient interface used throughout the automaton. |
| #23 | */ |
| #24 | export declare function createDeepSeekInferenceClient(options: DeepSeekInferenceClientOptions): InferenceClient; |
| #25 | /** |
| #26 | * DeepSeek cost estimation in cents per million tokens. |
| #27 | */ |
| #28 | export declare const DEEPSEEK_PRICING: Record<string, { |
| #29 | input: number; |
| #30 | output: number; |
| #31 | }>; |
| #32 | /** |
| #33 | * Estimate cost in cents for a DeepSeek inference call. |
| #34 | */ |
| #35 | export declare function estimateDeepSeekCostCents(usage: { |
| #36 | promptTokens: number; |
| #37 | completionTokens: number; |
| #38 | }, model: string): number; |
| #39 | export {}; |
| #40 | //# sourceMappingURL=deepseek-inference.d.ts.map |