agent: Restore last used agent session on startup (#36401)
Release Notes: - N/A
This commit is contained in:
parent
2eadd5a396
commit
5591fc810e
4 changed files with 60 additions and 35 deletions
|
@ -146,7 +146,7 @@ pub struct NewExternalAgentThread {
|
|||
agent: Option<ExternalAgent>,
|
||||
}
|
||||
|
||||
#[derive(Default, Clone, Copy, PartialEq, Serialize, Deserialize, JsonSchema)]
|
||||
#[derive(Default, Debug, Clone, Copy, PartialEq, Serialize, Deserialize, JsonSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
enum ExternalAgent {
|
||||
#[default]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue