deepagents icon indicating copy to clipboard operation
deepagents copied to clipboard

refactor(graph): apply dependency inversion to default model creation

Open zhyg opened this issue 2 months ago • 0 comments

  • 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

zhyg avatar Nov 03 '25 03:11 zhyg