fix(usage): record exact embedding tokens
This commit is contained in:
1 parent
57b3b2c175
commit
c85a5c57ba
3 files changed
+117
-1
No files matched your search
@@ -116,6 +116,7 @@ export async function handleEmbeddingsCore({
|
||||
|
||||
return {
|
||||
success: true,
|
||||
usage: normalized.usage || null,
|
||||
response: new Response(JSON.stringify(normalized), {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Reference in new issue
Block a user