mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
refactor: remove max_context_load_time and max_context_tokens from bot settings
These two fields controlled history context window (time-based) and token-based trimming. They are no longer needed — the resolver now always uses the hardcoded 24-hour default and skips token-based history trimming.
This commit is contained in:
@@ -12397,12 +12397,6 @@ const docTemplate = `{
|
||||
"language": {
|
||||
"type": "string"
|
||||
},
|
||||
"max_context_load_time": {
|
||||
"type": "integer"
|
||||
},
|
||||
"max_context_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
"memory_provider_id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -12456,12 +12450,6 @@ const docTemplate = `{
|
||||
"language": {
|
||||
"type": "string"
|
||||
},
|
||||
"max_context_load_time": {
|
||||
"type": "integer"
|
||||
},
|
||||
"max_context_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
"memory_provider_id": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user