-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Misc improvements to types and stdlib in jinja (#788)
Closes #723 Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > This PR updates type definitions, modifies default values, and enhances Jinja environment setup for improved functionality and maintainability. > > - **Behavior**: > - Changed default value of `inherit_tools` to `false` in `CreateTaskRequest`, `PatchTaskRequest`, and `UpdateTaskRequest` in `Tasks.py` and `Tools.py`. > - Added `label` field to various workflow step models in `Tasks.py` for step referencing. > - Updated `id` type from `UUID` to `string` in `ToolRefById` and `ToolResponse` in `Tools.py`. > - **Jinja Environment**: > - Consolidated Jinja environment globals setup in `template.py` using `constants`, `stdlib`, and `ALLOWED_FUNCTIONS`. > - **Misc**: > - Added `schema_` field to `ApiCallDef` in `Tools.py` for response schema definition. > - Updated `litellm` version in `pyproject.toml` to `^1.51.2`. > - Marked a test as skipped in `test_docs_routes.py` due to random CI failures. > > <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 1b0f870. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> Signed-off-by: Diwank Singh Tomer <[email protected]>
- Loading branch information
Showing
14 changed files
with
541 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.