deepagents
deepagents copied to clipboard
refactor(graph): apply dependency inversion to default model creation
- Change get_default_model() return type from ChatAnthropic to BaseChatModel
- Move ChatAnthropic import from module level to function scope
- Remove direct dependency on concrete implementation at module boundary