Skip to content

feat: make agent memory context limit configurable - #1007

Open
Purujeet-git wants to merge 1 commit into
dataelement:mainfrom
Purujeet-git:feat/810-configurable-memory-context
Open

feat: make agent memory context limit configurable#1007
Purujeet-git wants to merge 1 commit into
dataelement:mainfrom
Purujeet-git:feat/810-configurable-memory-context

Conversation

@Purujeet-git

Copy link
Copy Markdown

Summary

  • Adds a configurable memory_context_max_chars setting for each agent.
  • Keeps the default memory context limit at 2000 characters for backward compatibility.
  • Passes the configured limit through agent configuration into LLM context building.
  • Adds an Alembic migration for the new agent setting.
  • Adds tests covering the configurable memory context limit.

Fixes #810

Checklist

  • Tested locally
  • No unrelated changes included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning: This Chat Session is waiting for an explicit reply or cancellation

1 participant