Releases: srtab/daiv
Releases · srtab/daiv
v0.1.0-alpha.16
Added
- Included new step apply_lint_fixonIssueAddressorAgent,ReviewAddressorAgentandPipelineFixerAgentto apply lint fixes to the codebase after plan execution. This will improve antecipation of lint errors and avoid pipeline failures.
- RunSandboxCommandsToolnow supports running commands on codebase with uncommitted changes.
Changed
- Improved ReviewAddressorManagerto commit the file changes after all discussions are resolved, avoiding multiple pipelines being created between discussions resolution.
- Streamlined file changes namespace to avoid code repetition.
- GitLab client now retry_transient_errors=Trueto be more resilient to transient errors.
- Improved assessment of request for changes on ReviewAddressorAgentto allow the agent to reason before responding.
- Improved response prompt for ReviewAddressorAgentto avoid answering like "I'll update the code to replace", as the agent is not able to update the code but only answer questions.
- Configuration of webhooks now takes a default EXTERNAL_URLfor--base-urlto avoid having to pass it on every call, and now configurespipeline_eventsinstead ofjob_events. You must run commandsetup_webhooksto update the webhooks on your GitLab projects.
- Turn PullRequestDescriberAgentmore resilient to errors by defining fallbacks to use a model from other provider.
Fixed
- Fixed index updates to branches that don't exist anymore, like when a branch is marked to delete after a merge request is merged: #153.
- SnippetReplacerAgentwas replacing multiple snippets when only one was expected. Now it will return an error if multiple snippets are found to instruct the llm to provide a more specific original snippet.
- PipelineFixerAgentwas trying to fix multiple jobs from the same stage at the same time, causing multiple fixes being applied simultaneously to the same files which could lead to conflicts or a job being fixed with outdated code. Now it will fix one job at a time. #164
- Human feedback now is sent without the first note which is the bot note to the issue addressor agent.
Removed
- get_repository_treewas removed from the- RepoClientas it's no longer used.
v0.1.0-alpha.15
Added
- Added PIPELINE_FIXER_MAX_RETRYto thecodebase.confmodule to allow configuring the maximum number of retry iterations for the pipeline fixer.
Changed
- Improved logging on PipelineFixerAgentto clarify why a pipeline fix is not being applied.
Fixed
- Fixed access to optional parameter actionsonresultafterPipelineFixerAgenthas been invoked.
Chore
- Updated dependencies:
- duckduckgo-searchfrom 7.0.2 to 7.1.1
- ipythonfrom 8.30 to 8.31
- jinja2from 3.1.4 to 3.1.5
- langgraph-checkpoint-postgresfrom 2.0.8 to 2.0.9
- langsmithfrom 0.2.4 to 0.2.6
- python-gitlabfrom 5.2 to 5.3
- coveragefrom 7.6.9 to 7.6.10
- mypyfrom 1.13 to 1.14
- types-pyyamlfrom 6.0.12.20240917 to 6.0.12.20241221
 
v0.1.0-alpha.14
Added
- Added SNIPPET_REPLACER_STRATEGYandSNIPPET_REPLACER_MODELtoSnippetReplacerAgentto allow configuring the strategy and the model to be used.
Changed
- Migrated from django-appconftopydantic-settingsfor configuration management.
Fixed
- Fixed path to sandboxdocker service volume for local development.
Chore
- Removed django_celery_beatfrom the project, as it's not used.
- Updated dependencies:
- duckduckgo-searchfrom 6.3.7 to 7.0.3.
 
v0.1.0-alpha.13
Changed
- Improved prompts for CodebaseQAAgentto improve the quality of the answers.
- Improved prompts for CodebaseSearchAgentto improve the effectiveness of the search.
- Improved prompts of plan execution to focus the agent more on the execution of the plan and less on planning.
Fixed
- Fixed SnippetReplacerAgentprompt to minimize placeholders like "The rest of the code here".
v0.1.0-alpha.12
Fixed
- Fixed CodebaseSearchAgentto avoid calling index update when no repo or ref is provided.
Changed
- Changed default max_tokens=2048for allAnthropicmodels to deacrese the changes of rate limiting. OnlySnippetReplacerAgentleft using a higher value.
- Improved prompts for ReviewAddressorAgentandIssueAddressorManagerto avoid excessive tool calls and optimize the agent behavior.
- Changed tool_choicetoautoonREACTAgentto improve reasoning capabilities of the agents.
- Updated dependencies:
- langchainfrom 0.3.11 to 0.3.13
- langchain-anthropicfrom 0.3 to 0.3.1
- langchain-communityfrom 0.3.11 to 0.3.13
- langchain-openaifrom 0.2.12 to 0.2.14
- langchain-text-splittersfrom 0.3.2 to 0.3.4
- langgraphfrom 0.2.59 to 0.2.60
- langsmithfrom 0.2.2 to 0.2.4
- pydanticfrom 2.10.3 to 2.10.4
- pytest-asynciofrom 0.24 to 0.25
- python-gitlabfrom 5.1 to 5.2
- uvicornfrom 0.32.1 to 0.34.0
- rufffrom 0.8.2 to 0.8.4
 
Removed
- Removed check_consecutive_tool_callsfromREACTAgentas it's no longer used.
- Removed ExploreRepositoryPathToolas it's no longer used.
v0.1.0-alpha.11
Removed
- Removed update_indexandsetup_webhookscommands from thestart-appscript to avoid long startup times.
- Removed GUNICORN_THREADSfrom thestart-appscript, as it's not used bygunicornwithUvicornWorker.
Fixed
- Fixed connections already closed being served by the pool.
v0.1.0-alpha.10
Added
- Added DEFAULT_RECURSION_LIMITto theautomation.constantsmodule and replaced all hardcoded values with it.
- Added ErrorLogEvaluatorAgentto evaluate if two error logs are the same error or related.
Changed
- Changed is_daivto check the label case insensitive.
- Changed IssueAddressorManagerto comment on the issue when the agent has questions and couldn't define a plan.
- Changed IssueAddressorManagerto present the plan within the discussion thread created when the agent has a plan, instead of creating a sub-tasks on the issue.
- Improved issue_addressortemplates to be more user friendly and informative.
- Improved planning prompts from IssueAddressorAgentandReviewAddressorAgentto attempt prevent looping on to many unecessary tool calls.
- Changed PipelineFixerAgentto useErrorLogEvaluatorAgentto evaluate if can retry fixing the pipeline and avoid looping on the same error.
- Changed MAX_RETRY_ITERATIONSto 10 onPipelineFixerAgent.
- Changed CodebaseSearchAgentto ensure the index is updated before retrieving the documents.
Removed
- Removed methods create_issue_tasks,get_issue_tasksanddelete_issueto create sub-tasks within a issue on GitLab client. This is no longer needed as the agent now creates a discussion thread to track the plan and execution.
Fixed
- Fixed Docker group ID of sandboxto be compatible with Ubuntu.
- Fixed refargument not being used onupdate_indexcommand.
v0.1.0-alpha.9
Changed
- Changed IssueAddressorManagerto comment on the issue when an unexpected error occurs.
- Updated dependencies:
- duckduckgo-searchfrom 6.3.7 to 6.4.1
- langchainfrom 0.3.9 to 0.3.11
- langchain-communityfrom 0.3.9 to 0.3.11
- langchain-openaifrom 0.2.10 to 0.2.12
- langgraphfrom 0.2.53 to 0.2.59
- langgraph-checkpoint-postgresfrom 2.0.7 to 2.0.8
- langsmithfrom 0.1.147 to 0.2.2
- redisfrom 5.2 to 5.2.1
- pydanticfrom 2.10.2 to 2.10.3
- pyopensslfrom 24.2.1 to 24.3.0
- rufffrom 0.8.0 to 0.8.2
- watchfilesfrom 1.0.0 to 1.0.3
 
Removed
- Removed unused get_openai_callbackon codebase managers.
- Removed unused monitor_beat_tasksfrom Sentry Celery integration.
Fixed
- Fixed fallback model name to be used as modelargument instead of inexistentmodel_nameon ReAct agents.
- Fixed missing assignee_idonRepoClient.update_or_create_merge_requestabstract method.
v0.1.0-alpha.8
Added
- Added EXPOSE 8000to theDockerfile.
- Added CodebaseQAAgentto answer questions about the codebase.
- Added chat completion API endpoints to allow interact with the codebase through seamless integration with external tools and services.
- Added fallback models to allow more resilient behavior when a model is not available (this happens a lot with Anthropic models).
- Added CONN_HEALTH_CHECKSto thesettings.pyto allow healthchecks to be performed on the database connection.
Changed
- Renamed PostgresRetrievertoScopedPostgresRetrieverto allow having a non scoped retriever forCodebaseQAAgent.
- Changed PLANING_COST_EFFICIENT_MODEL_NAMEto point toclaude-3-5-sonnet-20241022.
- Changed GENERIC_PERFORMANT_MODEL_NAMEto point togpt-4o-2024-11-20, the latest version ofgpt-4o.
- Changed prompt for ReviewAddressorAgentto try limiting the number of iterations on ReAct agent.
Fixed
- Fixed the Dockerfileto create thedaivuser with the correct group and user IDs to avoid permission issues.
- Fixed the branch_filter_strategyto beall_branchesifpush_events_branch_filteris not set.
- Fixed conditional edge after reducer in CodebaseSearchAgent, the state where not beign updated as expected, ignoring further iterations.
- Fixed KeyError: 'response'onReviewAddressorAgentwhen the agent reached the maximum number of recursion.
- Fixed connection timeout when accessing the database with Django ORM.
v0.1.0-alpha.7
Added
- Added HEALTHCHECKto theDockerfile.
Fixed
- Fixed the Dockerfileto create thedaivuser with the correct home directory defined.
- Fixed the Dockerfileto create the necessary directories for the application to run:tantivy_index,media, andstatic.