Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
ai@7.0.129: Deprecation-Warnungen mit Codes und neue Reasoning-Stufe max
ai@7.0.129 gibt Deprecation-Warnungen mit stabilen Codes aus und dedupliziert sie, bewahrt vom V2-Provider gemeldete Gesamt-Tokens in den Rohdaten zur Nutzung und führt eine portable Reasoning-Stufe max mit nativen Provider-Mappings und Kompatibilitätswarnungen ein.
Patch Changes
e37d213: feat(ai): emit deprecation warnings with stable codes and deduplicate them
73d8343: fix(ai): preserve V2 provider-reported total tokens in raw usage
268225c: feat(provider): add a portable
maxreasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.Compatibility notes:
- TypeScript source compatibility: Adding
maxwidensLanguageModelV4CallOptions['reasoning']and the derivedReasoningLeveltype. Third-party providers and consumers with exhaustive switches orRecord<ReasoningLevel, ...>mappings must handlemaxbefore upgrading. Ordinary calls using existing reasoning levels remain accepted. - Amazon Bedrock: Existing Nova 2 calls using portable
reasoning: 'xhigh'now sendmaxReasoningEffort: 'high'instead of the unsupported'max', and return a compatibility warning. Anthropic and OpenAI Bedrock effort mappings retain their existingxhighbehavior. Partial Bedrock reasoning configurations continue to preserve explicit values and derive missing fields; explicit effort/budget overrides and disabled thinking no longer emit warnings for portable mappings that are not sent. - Fireworks: Existing portable
minimalandxhighcalls keep their request mappings tolowandhigh, respectively, and now return compatibility warnings in generation and streaming results. Portablemaxmaps tohighwith the same warning behavior. …
- TypeScript source compatibility: Adding