chore: include contributing/ folder in autoformat.sh

Also formatted the files in that folder in this same commit.

PiperOrigin-RevId: 766885306
This commit is contained in:
Liang Wu
2025-06-03 17:20:16 -07:00
committed by Copybara-Service
parent e99f87de73
commit 433c423d35
13 changed files with 34 additions and 26 deletions
@@ -19,15 +19,12 @@ from google.genai import types
async def log_query(tool_context: ToolContext, query: str):
"""Saves the provided query string as a 'text/plain' artifact named 'query'."""
query_bytes = query.encode('utf-8')
artifact_part = types.Part(
inline_data=types.Blob(
mime_type='text/plain',
data=query_bytes
)
)
await tool_context.save_artifact('query', artifact_part)
"""Saves the provided query string as a 'text/plain' artifact named 'query'."""
query_bytes = query.encode('utf-8')
artifact_part = types.Part(
inline_data=types.Blob(mime_type='text/plain', data=query_bytes)
)
await tool_context.save_artifact('query', artifact_part)
root_agent = Agent(