Skip to content
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

fix indent #355

Merged
merged 13 commits into from
Aug 31, 2024
7 changes: 3 additions & 4 deletions docs/sdk/markdowns/AgentModelsAndMethods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,9 @@ def execute(**kwargs) -> UploadFileParams | None:
if not os.access(full_file_path, os.R_OK):
error(f'Do not have read permissions for file {full_file_path}')
return None

new_file_param = FileParam(filename=str(full_file_path), body=body)

return UploadFileParams(files=[new_file_param])

new_file_param = FileParam(filename=str(full_file_path), body=body)
return UploadFileParams(files=[new_file_param])

info(f'File exists, but was last modified {elapsed_time} seconds ago. Only files modified between {recency_min} and {recency_max} seconds are uploaded.')
return None
Expand Down