fix(prompt): remove unused code (#343)

This commit is contained in:
jokemanfire 2025-07-31 14:41:38 +08:00 • committed by GitHub
commit b1da5e8969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,22 +153,6 @@ impl PromptMessage {
}
}
/// A template for a prompt
#[derive(Debug, Serialize, Deserialize)]
pub struct PromptTemplate {
pub id: String,
pub template: String,
pub arguments: Vec<PromptArgumentTemplate>,
}
/// A template for a prompt argument, this should be identical to PromptArgument
#[derive(Debug, Serialize, Deserialize)]
pub struct PromptArgumentTemplate {
pub name: String,
pub description: Option<String>,
pub required: Option<bool>,
}
#[cfg(test)]
mod tests {
use serde_json;