mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
4c29482f0a
Last night Gemini models kept failing right before they finished. A chunk carried `citationMetadata` without `citationSources`, deserializing `CitationMetadata` failed, and the response was treated as a failure. The hosted path is fixed in Cloud; this PR adds the same default to the field in Zed's client, so requests made directly to the Gemini API don't fail the same way. Release Notes: - Fixed Gemini responses failing when they included citation metadata without citation sources.