Skip to content

Commit e9d2227

Browse files
authored
Add download_file function to sessions_python_plugin
1 parent 43da976 commit e9d2227

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/semantic_kernel/core_plugins/sessions_python_tool/sessions_python_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ async def list_files(self) -> list[SessionsRemoteFileMetadata]:
301301
f"List files failed with status code {e.response.status_code} and error: {error_message}"
302302
) from e
303303

304+
@kernel_function(name="download_file", description="Downloads a file from the current Session ID")
304305
async def download_file(
305306
self,
306307
*,

0 commit comments

Comments
 (0)