MCPcopy Create free account
hub / github.com/apache/maka / kimiOpenAiBaseUrl

Function kimiOpenAiBaseUrl

packages/runtime/src/model-runtime.ts:180–182  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

178}
179
180function kimiOpenAiBaseUrl(baseUrl: string): string {
181 return `${baseUrl.replace(/\/+$/, '').replace(/\/v1$/i, '')}/v1`;
182}
183
184function runtimeAdapterOverride(packageName: string): ProviderRuntimeAdapter {
185 switch (packageName) {

Callers 1

resolveModelRuntimeFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected