google / google/adk-python

feat: Support automatic artifact storage for files generated by skill toolset scripts

オープン
#5,579 コメント 5 件 リアクション 0 件 担当者 1 名 @klateefa が担当を希望しています GitHub で見る
needs review tools
主要言語
Python
スター
21.5k
フォーク
4k
平均マージ
1日 14時間
マージ済み PR(30日)
37

説明

## Summary
When skill toolset scripts generate files (e.g., PDF creation, image generation, data
exports), these files are created in temporary directories and lost after execution.
There's currently no built-in mechanism to persist skill-generated files as artifacts.

## Current Behavior
- Skill scripts can generate files in temporary directories during execution
- These files are not automatically saved as artifacts
- SaveFilesAsArtifactsPlugin only handles user-uploaded files (inline_data)
- Files are discarded after script execution completes

## Expected Behavior
One or more of:
1. Automatic artifact storage for skill-generated files (if returned in response)
2. Plugin support for intercepting tool responses with file data
3. Documentation on best practices for persisting skill-generated files
4. Skill API extension for explicit artifact saving

## Use Cases
- PDF generation skills that need to save generated PDFs
- Image processing skills that output images
- Data processing skills that generate reports or exports
- Any skill that creates files meant to be accessed later

## Example Scenario
```python
# PDF skill script generates a file
# Expected: File automatically becomes available as artifact
# Actual: File is lost after script execution

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。