-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Corrected and refactored main.py for 'markdown-validator' example #141
Comments
Credit: @theCyberTech |
Dependencies and function callsThis comment is relevant to at least installations made with poetry I made two installations (remember to use poetry install --no-init not poetry install), one with the original set of dependencies and one with dependencies up-to-date as of July 22/2024.
[tool.poetry.dependencies] This works with: updated_markdown = syntax_review_task.execute_sync()
[tool.poetry.dependencies] this works with: updated_markdown = syntax_review_task.execute() |
My dependences in project.toml are :- [tool.poetry.dependencies] for me the original code work's :- updated_markdown = syntax_review_task.execute() Also i came here to ask , As you post is recent did you encounter any Tool usage error like below :-
|
No, I cannot say I had any problem with the tools. Glad to hear the code worked for you. I have a suspicion the problem is the result of some package conflicts in my virtual environment. |
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. |
This issue was closed because it has been stale for 5 days with no activity. |
just a single line for .env file:
.env
OPENAI_API_KEY=insert your openai key here
Note: best-practice is not to put any type of quotation marks around the value of a key,
tuck it in close to the equals sign
main.py
The text was updated successfully, but these errors were encountered: