Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(agents-api): Add support for reading setup args from metadata and Upgrade to python 3.12 #525

Merged
merged 4 commits into from
Sep 28, 2024

Conversation

creatorrr
Copy link
Contributor

@creatorrr creatorrr commented Sep 27, 2024

Signed-off-by: Diwank Singh Tomer [email protected]


Important

Upgrade to Python 3.12 and add support for reading setup arguments from metadata in agents-api.

  • Python Version Upgrade:
    • Upgrade Python to 3.12 in .tool-versions, Dockerfile, Dockerfile.worker, pyproject.toml, and pytype.toml.
  • Setup Arguments from Metadata:
    • execute_integration() in execute_integration.py now reads setup arguments from metadata.
    • get_tool_args_from_metadata() in get_tool_args_from_metadata.py updated to handle arg_type for "args" and "setup".
  • CI and Documentation:
    • Delete generate-docs.yml workflow.
    • Update lint-and-format.yml to focus on agents-api and use Python 3.12.
    • Update pytype version in pyproject.toml.
    • Change x-tool-parameters to x-integration-args in julep-concepts.md.
    • Adjust backup schedule in docker-compose.yml from 1h to 3h.

This description was created by Ellipsis for b1c0615. It will automatically update as commits are pushed.

…d Upgrade to python 3.12

Signed-off-by: Diwank Singh Tomer <[email protected]>
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to ab8fae6 in 21 seconds

More details
  • Looked at 237 lines of code in 7 files
  • Skipped 1 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. agents-api/pyproject.toml:11
  • Draft comment:
    Ensure that the --target-python-version in the codegen task matches the new Python version 3.12 for consistency.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_K0F1rc7aYEeJ7jmC


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on b1c0615 in 8 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. memory-store/docker-compose.yml:21
  • Draft comment:
    Changing the backup schedule from every 1 hour to every 3 hours is a significant change. Ensure this aligns with the backup requirements and SLAs.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The change in the cron schedule from every 1 hour to every 3 hours is a significant change. This should be verified with the team to ensure it aligns with the backup requirements.

Workflow ID: wflow_MxzSerLThwgJsNze


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@HamadaSalhab HamadaSalhab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HamadaSalhab HamadaSalhab merged commit e345dfe into dev Sep 28, 2024
4 of 5 checks passed
@HamadaSalhab HamadaSalhab deleted the f/x-tool-setup-and-py-312 branch September 28, 2024 15:35
Vedantsahai18 pushed a commit that referenced this pull request Sep 28, 2024
…d Upgrade to python 3.12 (#525)

Signed-off-by: Diwank Singh Tomer <[email protected]>

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Upgrade to Python 3.12 and add support for reading setup arguments
from metadata in `agents-api`.
> 
>   - **Python Version Upgrade**:
> - Upgrade Python to 3.12 in `.tool-versions`, `Dockerfile`,
`Dockerfile.worker`, `pyproject.toml`, and `pytype.toml`.
>   - **Setup Arguments from Metadata**:
> - `execute_integration()` in `execute_integration.py` now reads setup
arguments from metadata.
> - `get_tool_args_from_metadata()` in `get_tool_args_from_metadata.py`
updated to handle `arg_type` for "args" and "setup".
>   - **CI and Documentation**:
>     - Delete `generate-docs.yml` workflow.
> - Update `lint-and-format.yml` to focus on `agents-api` and use Python
3.12.
>     - Update `pytype` version in `pyproject.toml`.
> - Change `x-tool-parameters` to `x-integration-args` in
`julep-concepts.md`.
>     - Adjust backup schedule in `docker-compose.yml` from 1h to 3h.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup>
for b1c0615. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->

---------

Signed-off-by: Diwank Singh Tomer <[email protected]>
creatorrr added a commit that referenced this pull request Sep 30, 2024
…d Upgrade to python 3.12 (#525)

Signed-off-by: Diwank Singh Tomer <[email protected]>

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Upgrade to Python 3.12 and add support for reading setup arguments
from metadata in `agents-api`.
> 
>   - **Python Version Upgrade**:
> - Upgrade Python to 3.12 in `.tool-versions`, `Dockerfile`,
`Dockerfile.worker`, `pyproject.toml`, and `pytype.toml`.
>   - **Setup Arguments from Metadata**:
> - `execute_integration()` in `execute_integration.py` now reads setup
arguments from metadata.
> - `get_tool_args_from_metadata()` in `get_tool_args_from_metadata.py`
updated to handle `arg_type` for "args" and "setup".
>   - **CI and Documentation**:
>     - Delete `generate-docs.yml` workflow.
> - Update `lint-and-format.yml` to focus on `agents-api` and use Python
3.12.
>     - Update `pytype` version in `pyproject.toml`.
> - Change `x-tool-parameters` to `x-integration-args` in
`julep-concepts.md`.
>     - Adjust backup schedule in `docker-compose.yml` from 1h to 3h.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup>
for b1c0615. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->

---------

Signed-off-by: Diwank Singh Tomer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants