mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Cherry-pick of #55288 to preview ---- gpt-5.5 likes to call the `now` tool with upper-case "UTC", leading to this error: > Failed to receive tool input: tool input was not fully received Release Notes: - N/A Co-authored-by: Oleksiy Syvokon <oleksiy@zed.dev>
This commit is contained in:
parent
408ed01443
commit
9df5ab5050
1 changed files with 2 additions and 0 deletions
|
|
@ -13,8 +13,10 @@ use crate::{AgentTool, ToolCallEventStream, ToolInput};
|
|||
#[schemars(inline)]
|
||||
pub enum Timezone {
|
||||
/// Use UTC for the datetime.
|
||||
#[serde(alias = "UTC", alias = "Utc")]
|
||||
Utc,
|
||||
/// Use local time for the datetime.
|
||||
#[serde(alias = "LOCAL", alias = "Local")]
|
||||
Local,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue