Skip to content

Commit

Permalink
Bumped version to v0.1.0-alpha.19 (#194)
Browse files Browse the repository at this point in the history
* Bumped version to v0.1.0-alpha.19

* Updated version on uv.lock.
  • Loading branch information
srtab authored Jan 10, 2025
1 parent eeb9329 commit c61d1d0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.1.0-alpha.19] - 2025-01-10

### Fixed

- `prepare_repository_files_as_messages` was returning messages with empty tool calls when no files were found, leading to errors on the agents.

## [0.1.0-alpha.18] - 2025-01-10

### Fixed
Expand Down Expand Up @@ -335,7 +341,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release of the `daiv` project.

[Unreleased]: https://github.com/srtab/daiv/compare/v0.1.0-alpha.18...HEAD
[Unreleased]: https://github.com/srtab/daiv/compare/v0.1.0-alpha.19...HEAD
[0.1.0-alpha.19]: https://github.com/srtab/daiv/compare/v0.1.0-alpha.18...v0.1.0-alpha.19
[0.1.0-alpha.18]: https://github.com/srtab/daiv/compare/v0.1.0-alpha.17...v0.1.0-alpha.18
[0.1.0-alpha.17]: https://github.com/srtab/daiv/compare/v0.1.0-alpha.16...v0.1.0-alpha.17
[0.1.0-alpha.16]: https://github.com/srtab/daiv/compare/v0.1.0-alpha.15...v0.1.0-alpha.16
Expand Down
3 changes: 3 additions & 0 deletions daiv/automation/agents/prebuilt.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ def prepare_repository_files_as_messages(
)
tool_call_messages.append(ToolMessage(content=repository_file_content, tool_call_id=tool_call_id))

if not tool_calls:
return []

return [
AIMessage(
content=textwrap.dedent(
Expand Down
2 changes: 1 addition & 1 deletion daiv/daiv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Django starts so that shared_task will use this app.
from .celeryapp import app as celery_app

__version__ = "0.1.0-alpha.18"
__version__ = "0.1.0-alpha.19"

__all__ = ("celery_app",)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "daiv"
version = "0.1.0-alpha.18"
version = "0.1.0-alpha.19"
description = "Developer assistant automating code issues, reviews, and pipeline fixes using AI Agents."
readme = "README.md"
license = { file = "LICENSE" }
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c61d1d0

Please sign in to comment.