Skip to content

Commit b5d8da2

Browse files
committed
fix(aihubmix): switch to dedicated provider package to resolve Zod validation error
Replace @ai-sdk/openai-compatible with the official aihubmix/ai-sdk-provider package and remove the hardcoded api URL, as the dedicated package handles schema validation and endpoint configuration internally.
1 parent 1feaf76 commit b5d8da2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

providers/aihubmix/provider.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name = "AIHubMix"
2-
npm = "@ai-sdk/openai-compatible"
2+
npm = "aihubmix/ai-sdk-provider"
33
env = ["AIHUBMIX_API_KEY"]
4-
api = "https://aihubmix.com/v1"
54
doc = "https://docs.aihubmix.com"
65

0 commit comments

Comments
 (0)