mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
chore: Update date to current year in template (#1860)
* update date to current year in template Signed-off-by: dandawg <12484302+dandawg@users.noreply.github.com> * current_year update to example task template Signed-off-by: dandawg <12484302+dandawg@users.noreply.github.com> --------- Signed-off-by: dandawg <12484302+dandawg@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@ research_task:
|
|||||||
description: >
|
description: >
|
||||||
Conduct a thorough research about {topic}
|
Conduct a thorough research about {topic}
|
||||||
Make sure you find any interesting and relevant information given
|
Make sure you find any interesting and relevant information given
|
||||||
the current year is 2024.
|
the current year is {current_year}.
|
||||||
expected_output: >
|
expected_output: >
|
||||||
A list with 10 bullet points of the most relevant information about {topic}
|
A list with 10 bullet points of the most relevant information about {topic}
|
||||||
agent: researcher
|
agent: researcher
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
from {{folder_name}}.crew import {{crew_name}}
|
from {{folder_name}}.crew import {{crew_name}}
|
||||||
|
|
||||||
warnings.filterwarnings("ignore", category=SyntaxWarning, module="pysbd")
|
warnings.filterwarnings("ignore", category=SyntaxWarning, module="pysbd")
|
||||||
@@ -16,7 +18,8 @@ def run():
|
|||||||
Run the crew.
|
Run the crew.
|
||||||
"""
|
"""
|
||||||
inputs = {
|
inputs = {
|
||||||
'topic': 'AI LLMs'
|
'topic': 'AI LLMs',
|
||||||
|
'current_year': str(datetime.now().year)
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user