fix(providerConfig): add includeUsage option to provider configuration (#10269)

This commit is contained in:
MyPrototypeWhat 2025-09-20 00:41:45 +08:00 committed by GitHub
parent 97e9e42173
commit 3d6a82fb00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,7 +213,8 @@ export function providerToAiSdkConfig(
options: {
...options,
name: actualProvider.id,
...extraOptions
...extraOptions,
includeUsage: true
}
}
}