use thiserror::Error; /// Error returned while executing a model-visible tool invocation. #[derive(Debug, Error, PartialEq)] pub enum FunctionCallError { #[error("{0}")] RespondToModel(String), #[error("LocalShellCall without call_id or id")] MissingLocalShellCallId, #[error("Fatal error: {0}")] Fatal(String), }