Skip to content

Commit 6385a4b

Browse files
Dixie Flatlinedaniel-lxs
authored andcommitted
fixup! Manually specify openai-compat format and parse it
1 parent 852a126 commit 6385a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/code-index/embedders/openai-compatible.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class OpenAICompatibleEmbedder implements IEmbedder {
141141
}
142142

143143
return {
144-
embeddings,
144+
embeddings: embeddings,
145145
usage: {
146146
promptTokens: response.usage?.prompt_tokens || 0,
147147
totalTokens: response.usage?.total_tokens || 0,

0 commit comments

Comments
 (0)