Skip to content

feat(docs): add wrapping guide for agents#198

Merged
xjacka merged 5 commits into
mainfrom
feat/add-documentation-wrapping-guide
Apr 15, 2026
Merged

feat(docs): add wrapping guide for agents#198
xjacka merged 5 commits into
mainfrom
feat/add-documentation-wrapping-guide

Conversation

@xjacka
Copy link
Copy Markdown
Contributor

@xjacka xjacka commented Apr 8, 2026

Summary

Linked Issues

Documentation

  • No Docs Needed:

If this PR adds new feature or changes existing. Make sure documentation is adjusted accordingly. If the docs is not needed, please explain why.

@xjacka xjacka requested review from PetrBulanek and kapetr April 8, 2026 14:00
Signed-off-by: Lukáš Janeček <xjacka@gmail.com>
Comment thread docs/docs.json Outdated
Comment thread docs/development/deploy-agents/wrapping-guide.mdx
Comment thread docs/development/deploy-agents/wrapping-guide.mdx Outdated
Comment thread docs/development/deploy-agents/wrapping-guide.mdx Outdated
Comment thread docs/development/deploy-agents/wrapping-guide.mdx Outdated
Comment on lines +454 to +465
async def resolve_file(file_info: Any) -> File:
# FileInfo may arrive as a dict or object depending on the runtime
if isinstance(file_info, dict):
file_uri = file_info.get("uri")
else:
file_uri = getattr(file_info, "uri", None)

if not file_uri:
raise ValueError("Uploaded file is missing URI.")
assert isinstance(file_uri, str)
file_id = PlatformFileUrl(file_uri).file_id
return await File.get(file_id)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this helper worth integrating to sdk rater than documenting a workaround?

Comment thread docs/development/deploy-agents/wrapping-guide.mdx Outdated
Comment thread docs/development/deploy-agents/wrapping-guide.mdx
xjacka added 2 commits April 10, 2026 10:58
Signed-off-by: Lukáš Janeček <xjacka@gmail.com>
Signed-off-by: Lukáš Janeček <xjacka@gmail.com>
@xjacka xjacka merged commit 47959cc into main Apr 15, 2026
18 checks passed
@xjacka xjacka deleted the feat/add-documentation-wrapping-guide branch April 15, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants