refactor(sessions)!: retire the global shared session (#6621)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
1 parent
28d73b6942
commit
e6b0aec2a8
77 files changed
+311
-1255
No files matched your search
@@ -156,7 +156,6 @@ function baseSettingsPayload() {
|
||||
dream: {
|
||||
schedule: "every 2h",
|
||||
},
|
||||
unified_session: false,
|
||||
},
|
||||
advanced: {
|
||||
restrict_to_workspace: false,
|
||||
@@ -3657,7 +3656,6 @@ describe("App layout", () => {
|
||||
dream: {
|
||||
schedule: "every 2h",
|
||||
},
|
||||
unified_session: false,
|
||||
},
|
||||
advanced: {
|
||||
restrict_to_workspace: false,
|
||||
|
||||
@@ -11,7 +11,7 @@ const path = "agents.defaults.session_ttl_minutes";
|
||||
function setup(minutes = 720) {
|
||||
let persisted = {
|
||||
...settingsPayload(),
|
||||
runtime_config: { [path]: minutes, "agents.defaults.unified_session": false },
|
||||
runtime_config: { [path]: minutes },
|
||||
};
|
||||
requestMutationMock.mockImplementation(async (_action, { values }) => {
|
||||
persisted = { ...persisted, requires_restart: true,
|
||||
|
||||
@@ -92,7 +92,6 @@ export function settingsPayload(): SettingsPayload {
|
||||
dream: {
|
||||
schedule: "every 2h",
|
||||
},
|
||||
unified_session: false,
|
||||
},
|
||||
advanced: {
|
||||
restrict_to_workspace: false,
|
||||
|
||||
@@ -438,7 +438,6 @@ function modelSettings(model: string, provider: string): SettingsPayload {
|
||||
dream: {
|
||||
schedule: "every 2h",
|
||||
},
|
||||
unified_session: false,
|
||||
},
|
||||
advanced: {
|
||||
restrict_to_workspace: false,
|
||||
|
||||
Reference in new issue
Block a user