Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/protocol_level.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

use crate::{Meta, RequestId};
use crate::{IntoOption, Meta, RequestId};

/// **UNSTABLE**
///
Expand Down Expand Up @@ -43,8 +43,8 @@
///
/// See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)
#[must_use]
pub fn meta(mut self, meta: Meta) -> Self {
pub fn meta(mut self, meta: impl IntoOption<Meta>) -> Self {
self.meta = Some(meta);

Check failure on line 47 in src/protocol_level.rs

View workflow job for this annotation

GitHub Actions / Build

mismatched types
self
}
}
Expand Down
Loading