Skip to content

Decouple Services and Infrastructure#125

Open
srebrek wants to merge 4 commits intorefactor/separate-aimodel-and-chatfrom
refactor/move-Document-types-to-infrastructure
Open

Decouple Services and Infrastructure#125
srebrek wants to merge 4 commits intorefactor/separate-aimodel-and-chatfrom
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!!!

srebrek added 4 commits March 13, 2026 14:29
- remove nameConflict with Core Class
- move IRepositories to Domain
- move configuration call from Services to Core
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