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

Clean up pipeline #1187

Merged
merged 7 commits into from
Aug 16, 2024
Merged

Clean up pipeline #1187

merged 7 commits into from
Aug 16, 2024

Conversation

bhancockio
Copy link
Collaborator

@bhancockio bhancockio commented Aug 14, 2024

Issues fixed:

  • I couldn't get the newly created crews and pipeline templates to run. I fixed the path routing to properly point at the config.
  • When you would run a newly created template it would run but the LLM wouldn't do anything. The underlying issue was that the .env file had the following key OPENAI_API_KEY=OPENAI_API_KEY. It was actually using OPENAI_API_KEY as the value which would fail. However, the crew wasn't reporting the error. More info here: https://www.loom.com/share/51228e13cc7d47279875862f87f09f67?sid=4ff78592-f58b-4a91-a297-84da81efac46
  • Made the template versions dynamic instead of hard coded to v0.51.1.

Other improvements

  • Added get started docs for pipelines.

How to verify changes work:

  • create a crew, a pipeline, and a pipeline with a router using the cli (crewai create <crew|pipeline> ...). Install dependencies and update the .env file with OPENAI_API_KEY. The run with crewai run

@bhancockio bhancockio requested a review from lorenzejay August 14, 2024 14:52
This will initialize your pipeline and begin task execution as defined in your `main.py` file.

## Deploying Your Pipeline Project

Copy link
Collaborator

Choose a reason for hiding this comment

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

very nice

src/crewai/agents/executor.py Show resolved Hide resolved
src/crewai/agents/executor.py Show resolved Hide resolved
@bhancockio bhancockio merged commit 3451b6f into main Aug 16, 2024
3 of 4 checks passed
@bhancockio bhancockio deleted the bugfix/pipeline-followup-review branch August 16, 2024 18:47
bhancockio added a commit that referenced this pull request Jan 2, 2025
* Clean up pipeline

* Make versioning dynamic in templates

* fix .env issues when openai is trying to use invalid keys

* Fix type checker issue in pipeline

* Fix tests.
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