Skip to content
  • Tian Gao's avatar
    Refactor task classes to reduce DB calls · 98c3edba
    Tian Gao authored
    We have access to abundant context here in TaskFactory. 
    Regardless of whether the code generation prompt tool
    (eg: AnthropicMessage, CodellamaMessages, AnthropicMessage)
    use them or not, we can add all the context to param.
    This way we can avoid calling DB to find feature settings
    in multiple level.
    98c3edba