Open SomethingGoodLLC opened 5 months ago
Hello @SomethingGoodLLC I am also trying to run the same example project and I am failing my script in start please do you share any experrince with me how to run that project.
Welcome to Idea Generator
! YOU MUST FORK THIS BEFORE USING IT !
Disclaimer: This will use gpt-4 unless you changed it not to, and by doing so it will cost you money (~2-9 USD). The full run might take around ~10-45m. Enjoy your time back.
Create a front page for an educational institution named "CHEIF GROUP OF INSTITUTIONS". CHEIF is an educational group which two capuses Sabzazar campus, Mehar chowk campus. Chief institutions are serving the nation since 2014 and provide best results in board and university exams.
Traceback (most recent call last):
File "/home/aamir/AI-agents-video-main/Crewai examples latest/crewAI-examples/landing_page_generator/main.py", line 200, in
Hi Aamir,
Unfortunately, I never got it working. I troubleshot it for weeks, and spent at least $60 on it (used default model, versus changing to cheaper ones…)
Best of luck! Hope you bring more attention to this. I’d love for it to work
On Jul 22, 2024, at 08:15, Aamir Sohail @.***> wrote:
Hello @SomethingGoodLLChttps://github.com/SomethingGoodLLC I am also trying to run the same example project and I am failing my script in start please do you share any experrince with me how to run that project.
File "/home/aamir/AI-agents-video-main/Crewai examples latest/crewAI-examples/landing_page_generator/main.py", line 29, in run expanded_idea = self.__expand_idea() File "/home/aamir/AI-agents-video-main/Crewai examples latest/crewAI-examples/landing_page_generator/main.py", line 34, in __expand_idea expand_idea_task = Task( File "/home/aamir/miniconda3/envs/chatbot_env/lib/python3.10/site-packages/crewai/task.py", line 114, in init super().init(config, data) File "/home/aamir/miniconda3/envs/chatbot_env/lib/python3.10/site-packages/pydantic/main.py", line 193, in init self.pydantic_validator.validate_python(data, self_instance=self) pydantic_core._pydantic_core.ValidationError: 1 validation error for Task expected_output Field required [type=missing, input_value={'description': '\nTHIS I...sonate with audiences.)}, input_type=dict] For further information visit https://errors.pydantic.dev/2.8/v/missing
— Reply to this email directly, view it on GitHubhttps://github.com/crewAIInc/crewAI-examples/issues/78#issuecomment-2242811524, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX7AYIXSEHXL4XENRGXWNPLZNTZVDAVCNFSM6AAAAABFIAQGDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSHAYTCNJSGQ. You are receiving this because you were mentioned.Message ID: @.***>
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from pydantic import BaseModel, Field from typing import Optional
class Task(BaseModel): expected_output: Optional[str] = Field(None, description="Optional expected output")
@amalshehu IS this working for you.
It seems like the following tool in the
template_tools.py
file is failing:It might have to do with the
update_page()
function in thetasks.py
file as well. I had to update the paths there, otherwise, it wasn't finding them anymore. The default paths to the Tailwind themes have changed to/templates/[chosen_template]/[chosen_template]-js/src/app/page.jsx
Output from the run: