OpenRouter: Fix embeddings endpoint #4736

a06a033a71172cabde0606d466a214acab1ca73d

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
src/endpoints/openrouter.js+1 -1
@@ -59,7 +59,7 @@ router.post('/models/multimodal', async (_req, res) => {
59router.post('/models/embedding', async (_req, res) => {59router.post('/models/embedding', async (_req, res) => {
60 try {60 try {
61 // The endpoint is available without authentication61 // The endpoint is available without authentication
62 const response = await fetch(`${API_OPENROUTER}/models`, {62 const response = await fetch(`${API_OPENROUTER}/models/embeddings`, {
63 method: 'GET',63 method: 'GET',
64 headers: {64 headers: {
65 'Accept': 'application/json',65 'Accept': 'application/json',