Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b1c4ba6

Browse files
update
1 parent f4b0c82 commit b1c4ba6

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

‎openai-agent.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,9 @@ def run(self, task):
9191
share_crew=True
9292
)
9393

94-
result = crew.kickoff(inputs={'topic': 'Write me code for A* searching algo using python'})
95-
print(result)
94+
while True:
95+
topic = input("Enter the topic: ")
96+
if topic.lower() == 'quit':
97+
break
98+
result = crew.kickoff(inputs={'topic': topic})
99+
print(result)

‎python-coding-agent.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,9 @@
8484
share_crew=True
8585
)
8686

87-
result = crew.kickoff(inputs={'topic': 'Write me code for djkastra searching algo using python'})
88-
print(result)
87+
while True:
88+
topic = input("Enter the topic: ")
89+
if topic.lower() == 'quit':
90+
break
91+
result = crew.kickoff(inputs={'topic': topic})
92+
print(result)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /