Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f576' in position 0: character maps to encoding with 'cp1252' codec failed
-- C:\Users\Srika\AppData\Local\pypoetry\Cache\virtualenvs\youtube-yapper-trapper-xBqsal-M-py3.12\Lib\site-packages\crewai\task.py
-- in crewai 0.28 the task.py need correction
-- change as follows
--- with open(self.output_file, "w") as file: --> with open(self.output_file, "w", encoding='utf-8') as file:
tested with crewai ver 0.30 the task.py looks fixed.
both the output files are saved with timestamp for asy compare between the LLM Models used
-- "comment-2024-055-14_10-33.md" and "report-2024-055-14_10-33.md"
using two different file output methodes, one using crewai fn and other the python Print()
-- the comment is save in the @task using crewai function outputfile=filename but the reports is printed at the end of execution in the main.py
*** the invalid video_id format is still not confirmed to be fixed, it does throw error once in a while *** avoid video_id with "_" in it.