There was an error while loading. Please reload this page.
1 parent dfee06a commit f2caf2eCopy full SHA for f2caf2e
src/google/adk/cli/fast_api.py
@@ -856,7 +856,7 @@ async def builder_build(files: list[UploadFile]) -> bool:
856
os.makedirs(agent_dir, exist_ok=True)
857
file_path = os.path.join(agent_dir, filename)
858
859
- with open(file_path, "w") as buffer:
+ with open(file_path, "wb") as buffer:
860
shutil.copyfileobj(file.file, buffer)
861
862
except Exception as e:
0 commit comments