Skip to content

Commit 670cbe3

Browse files
Dixie Flatlinedaniel-lxs
authored andcommitted
fixup! Manually specify openai-compat format and parse it
Remove debug logs
1 parent 681d8d2 commit 670cbe3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@ export class OpenAICompatibleEmbedder implements IEmbedder {
132132

133133
const embeddings = response.data.map((item) => item.embedding)
134134

135-
console.log(`[OpenAI-Compatible Embedder] After mapping - embedding length: ${embeddings[0]?.length}`)
136-
if (embeddings[0]) {
137-
console.log(
138-
`[OpenAI-Compatible Embedder] First 10 values after mapping:`,
139-
embeddings[0].slice(0, 5),
140-
)
141-
}
142-
143135
return {
144136
embeddings: embeddings,
145137
usage: {

0 commit comments

Comments
 (0)