Skip to content

[NET-1388] refactor: Resolve limit config at init-time instead of import-time#341

Open
akash-vijay-kv wants to merge 2 commits into
developfrom
fix/refactor-class-attributes
Open

[NET-1388] refactor: Resolve limit config at init-time instead of import-time#341
akash-vijay-kv wants to merge 2 commits into
developfrom
fix/refactor-class-attributes

Conversation

@akash-vijay-kv

Copy link
Copy Markdown
Collaborator

Changes

  • Moves ATTRIBUTE_MAX_LEN/CONVERSATION_MAX_LEN/TRIAL_BLOCK_DURATION_SECONDS from import-time class attributes to instance attributes resolved during Config.__init__, with module-level defaults as pre-init fallback.
  • Introduces set_active_config()/get_active_config() and typed getters: updates consumers to read via getters instead of class attributes, with no constructor/signature changes.

JIRA

https://getnetra.atlassian.net/browse/NET-1388

@akash-vijay-kv akash-vijay-kv changed the title refactor: Resolve limit config at init-time instead of import-time [NET-1388] refactor: Resolve limit config at init-time instead of import-time Jul 24, 2026
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.

1 participant