Skip to content

Decouple Services and Infrastructure#125

Merged
srebrek merged 5 commits intomainfrom
refactor/move-Document-types-to-infrastructure
Mar 19, 2026
Merged

Decouple Services and Infrastructure#125
srebrek merged 5 commits intomainfrom
refactor/move-Document-types-to-infrastructure

Conversation

@srebrek
Copy link
Collaborator

@srebrek srebrek commented Mar 13, 2026

This PR prepares for complete separation of DB configurations from Core and Services (maybe in-memory fallback will be left). Now only Core depends on Infrastructure.

Key changes:

  • Move *Document types to the Infrastructure. Repositories are responsible for mapping to domain types.
  • Change AgentContext fields to AgentConfig (Semantically nearly the same and removes name conflict with Core class).
  • Move respository interfaces to the Domain

!!!Review the #123 before!!!

pswierad-src
pswierad-src previously approved these changes Mar 17, 2026
@srebrek srebrek force-pushed the refactor/separate-aimodel-and-chat branch from d43f4d2 to a4082a9 Compare March 17, 2026 20:52
@srebrek srebrek force-pushed the refactor/move-Document-types-to-infrastructure branch from e813c27 to 8b31952 Compare March 17, 2026 22:01
Base automatically changed from refactor/separate-aimodel-and-chat to main March 19, 2026 09:17
@srebrek srebrek dismissed pswierad-src’s stale review March 19, 2026 09:17

The base branch was changed.

@srebrek srebrek force-pushed the refactor/move-Document-types-to-infrastructure branch from 8b31952 to 883e85e Compare March 19, 2026 09:23
@srebrek srebrek merged commit e65a512 into main Mar 19, 2026
1 check passed
@srebrek srebrek deleted the refactor/move-Document-types-to-infrastructure branch March 19, 2026 09:32
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.

2 participants