MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / createOpenAIProfile

Function createOpenAIProfile

ai/ai.ts:238–249  ·  view source on GitHub ↗
(
  id: "openai-compatible" | "openai",
)

Source from the content-addressed store, hash-verified

236 id,
237 ...options,
238});
239
240const createOpenAIProfile = (
241 id: "openai-compatible" | "openai",
242): ProviderProfile =>
243 createProviderProfile(id, {
244 authMode: "bearer",
245 modes: {
246 chat: { strategy: "openai-rest" },
247 search: { strategy: "openai-rest" },
248 image: { strategy: "openai-rest", supportsEdit: true },
249 video: { strategy: "openai-rest", endpoint: "chat/completions" },
250 },
251 });
252

Callers 1

ai.tsFile · 0.85

Calls 1

createProviderProfileFunction · 0.85

Tested by

no test coverage detected