-
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(agents-api): Add python expression support to prompt step (#795)
- **wip(agents-api): Auto-run tools in prompt steps** - **refactor: Lint integrations-service (CI)** - **feat(agents-api): Add python expression support to prompt step** - **feat(agents-api): Default prompt_step.tools = 'all'** <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add Python expression support to prompt steps in agents API, with default tool settings and refactoring. > > - **Behavior**: > - Add Python expression evaluation for prompts starting with `$_` in `prompt_step()` in `prompt_step.py`. > - Default `tools` in `PromptStep` to `'all'` in `Tasks.py`. > - Default `auto_run_tools` to `True` for `PromptStep` and `False` for sessions in `Sessions.py` and `Tasks.py`. > - **Refactoring**: > - Remove unused import `Developer` from `execute_system.py`. > - Remove unused import `RootModel` from `Tools.py`. > - Linting changes in `integrations-service`. > - **Testing**: > - Add test for prompt step with Python expression in `test_execution_workflow.py`. > > <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 4254083. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]> Co-authored-by: creatorrr <[email protected]>
- Loading branch information
Showing
17 changed files
with
332 additions
and
177 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
BaseModel, | ||
ConfigDict, | ||
Field, | ||
RootModel, | ||
StrictBool, | ||
) | ||
|
||
|
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.