Update parameter capitalization

This commit is contained in:
Jeremiah Lowin 2025-06-28 15:06:16 -04:00
commit 6ff4022afa
2 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ async def process_items(items: list[str], ctx: Context) -> dict:
<ResponseField name="ctx.report_progress" type="async method">
Report progress to the client for long-running operations
<Expandable title="parameters">
<Expandable title="Parameters">
<ResponseField name="progress" type="float">
Current progress value (e.g., 24, 0.75, 1500)
</ResponseField>

View file

@ -60,7 +60,7 @@ async def analyze_sentiment(text: str, ctx: Context) -> dict:
<ResponseField name="ctx.sample" type="async method">
Request text generation from the client's LLM
<Expandable title="parameters">
<Expandable title="Parameters">
<ResponseField name="messages" type="str | list[str | SamplingMessage]">
A string or list of strings/message objects to send to the LLM
</ResponseField>
@ -82,7 +82,7 @@ async def analyze_sentiment(text: str, ctx: Context) -> dict:
</ResponseField>
</Expandable>
<Expandable title="returns">
<Expandable title="Response">
<ResponseField name="response" type="TextContent | ImageContent">
The LLM's response content (typically TextContent with a .text attribute)
</ResponseField>