SIGN IN SIGN UP

test(zai): derive user-agent version (#19783)

## Summary

- derive the expected ZAI user-agent suffix from the exported VERSION
value
- remove the hard-coded test version so package releases cannot stale
the assertion
- keep coverage that requests identify the ZAI provider and its current
package version

## Testing

- pnpm --filter @ai-sdk/zai... build
- pnpm --filter @ai-sdk/zai test:node (17/17)
- pnpm --filter @ai-sdk/zai test:edge (17/17)
- pnpm --filter @ai-sdk/zai type-check
- pnpm check
- pnpm type-check:full

No changeset is needed because this is a test-only change.
G
Gregor Martynus committed
1d1fcb314e519ad56eec95335e0d68ed83665a4f
Parent: 0599400
Committed by GitHub <noreply@github.com> on 8/26/2026, 8:47:19 PM