Skip to content

Commit f53c2d6

Browse files
committed
updated file and poll
1 parent e6bc225 commit f53c2d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc-samples/agents/python/project-client/code_interpreter/code_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# [START upload_file_and_create_agent_with_code_interpreter]
4949
# <file_upload>
5050
file = project_client.agents.upload_file_and_poll(
51-
file_path="nifty_500_quarterly_results.csv", purpose=FilePurpose.AGENTS
51+
file_path=str(Path(__file__).parent / "nifty_500_quarterly_results.csv"), purpose=FilePurpose.AGENTS
5252
)
5353
print(f"Uploaded file, file ID: {file.id}")
5454
# </file_upload>

0 commit comments

Comments
 (0)