diff options
| author | sigoden <sigoden@gmail.com> | 2025-01-17 20:06:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-17 20:06:28 +0800 |
| commit | 30dae5c12b81a6f92be138966d8930fa15612cb0 (patch) | |
| tree | ecb641bedbe8798d6b477f1036d714b99f1a8081 /src/config/input.rs | |
| parent | 50c60e8097f5148c30295a296063d0fc8391a5f4 (diff) | |
| download | aichat-30dae5c12b81a6f92be138966d8930fa15612cb0.tar.gz | |
feat: support macro (#1087)
Diffstat (limited to 'src/config/input.rs')
| -rw-r--r-- | src/config/input.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config/input.rs b/src/config/input.rs index 70a01cf..c21bc62 100644 --- a/src/config/input.rs +++ b/src/config/input.rs @@ -27,8 +27,8 @@ pub struct Input { medias: Vec<String>, data_urls: HashMap<String, String>, tool_calls: Option<MessageContentToolCalls>, - rag_name: Option<String>, role: Role, + rag_name: Option<String>, with_session: bool, with_agent: bool, } @@ -47,8 +47,8 @@ impl Input { medias: Default::default(), data_urls: Default::default(), tool_calls: None, - rag_name: None, role, + rag_name: None, with_session, with_agent, } @@ -128,8 +128,8 @@ impl Input { medias, data_urls, tool_calls: Default::default(), - rag_name: None, role, + rag_name: None, with_session, with_agent, }) |
