Feat : Skills

This commit is contained in:
decolua committed 2026-05-04 11:29:02 +07:00
1 parent f08fa5f78d
commit 9c6be62a54
52 files changed
+2666 -1581

No files matched your search

@@ -0,0 +1,13 @@
// Custom node providers (openai-compatible-* / custom-embedding-*) — baseUrl from credentials
import createOpenAIEmbeddingAdapter from "./openai.js";
const baseAdapter = createOpenAIEmbeddingAdapter("openai");
export default {
...baseAdapter,
buildUrl: (_model, creds) => {
const rawBaseUrl = creds?.providerSpecificData?.baseUrl || "https://api.openai.com/v1";
const baseUrl = rawBaseUrl.replace(/\/$/, "").replace(/\/embeddings$/, "");
return `${baseUrl}/embeddings`;
},
};