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

Change StructureRunTask parent to PromptTask #1235

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

collindutter
Copy link
Member

Describe your changes

Removes BaseMultiTextInputTask as PromptTask can now accept multiple inputs.

Issue ticket number and link

Road to 1.0

@@ -23,7 +23,7 @@ def test_run_with_env(self, mock_config):
mock_config.drivers_config.prompt_driver = MockPromptDriver(mock_output=lambda _: os.environ["KEY"])
agent = Agent()
driver = LocalStructureRunDriver(structure_factory_fn=lambda: agent, env={"KEY": "value"})
task = StructureRunTask(driver=driver)
task = StructureRunTask(structure_run_driver=driver)
Copy link
Member

Choose a reason for hiding this comment

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

the field needs to be updated to structure_run_driver i think

Copy link
Member Author

@collindutter collindutter Oct 7, 2024

Choose a reason for hiding this comment

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

Oh shoot I meant to undo that particular change (will be done in a future PR).

Copy link

codecov bot commented Oct 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@collindutter collindutter merged commit 59a0a59 into dev Oct 8, 2024
15 checks passed
@collindutter collindutter deleted the refactor/structure-run-task branch October 8, 2024 16:27
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