-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Describe the bug
The request and response bodies for interacting with the ACA serverless code interpreter sessions is incorrect.
To Reproduce
Steps to reproduce the behavior:
- Go to the sample workbook 'azure_python_code_interpreter_function_calling'
- Try using the file upload and/or code execution functions
- See errors
Expected behavior
To be able to execute code interpreter sessions in ACA
Platform
- OS: Windows
- IDE: Visual Studio, VS Code
- Language: Python
- Source: main branch
Additional context
REST API specifications: https://learn.microsoft.com/en-us/azure/container-apps/sessions-code-interpreter
For example:
The File Upload API endpoint should be files/upload not python/uploadFile. It also returns a list of files, rather than a single file metadata. method:
semantic-kernel/python/semantic_kernel/core_plugins/sessions_python_tool/sessions_python_plugin.py
Line 177 in 8fc645d
| async def upload_file( |
I believe all endpoints and data are incorrect, but haven't tested the all of the plugin's functions.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status