feat: add derive_more for NumberOrString and ProgramWriter
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -136,10 +136,12 @@ pub struct OptionsArgs {
|
||||
pub force: bool,
|
||||
}
|
||||
|
||||
use derive_more::From;
|
||||
|
||||
/**
|
||||
* Enum for representing either a number or a string.
|
||||
*/
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, From)]
|
||||
pub enum NumberOrString {
|
||||
Number(i64),
|
||||
Str(String),
|
||||
|
||||
Reference in New Issue
Block a user