mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
removing redundant enum tags for cache_control
This commit is contained in:
parent
39bd786280
commit
1b7f9e43e7
1 changed files with 0 additions and 4 deletions
|
|
@ -163,12 +163,10 @@ impl ExtractText for ToolResultContent {
|
|||
pub enum MessagesContentBlock {
|
||||
Text {
|
||||
text: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
cache_control: Option<MessagesCacheControl>,
|
||||
},
|
||||
Thinking {
|
||||
text: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
cache_control: Option<MessagesCacheControl>,
|
||||
},
|
||||
Image {
|
||||
|
|
@ -181,14 +179,12 @@ pub enum MessagesContentBlock {
|
|||
id: String,
|
||||
name: String,
|
||||
input: Value,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
cache_control: Option<MessagesCacheControl>,
|
||||
},
|
||||
ToolResult {
|
||||
tool_use_id: String,
|
||||
is_error: Option<bool>,
|
||||
content: ToolResultContent,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
cache_control: Option<MessagesCacheControl>,
|
||||
},
|
||||
ServerToolUse {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue