File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -306,9 +306,7 @@ class ServerCapabilities(BaseModel):
306306 tools : ToolsCapability | None = None
307307 """Present if the server offers any tools to call."""
308308 completions : CompletionsCapability | None = None
309- """
310- Present if the server offers autocompletion suggestions for prompts and resources.
311- """
309+ """Present if the server offers autocompletion suggestions for prompts and resources."""
312310 model_config = ConfigDict (extra = "allow" )
313311
314312
Original file line number Diff line number Diff line change @@ -109,9 +109,7 @@ async def list_resources():
109109
110110 # Add a complete handler
111111 @server .completion ()
112- async def complete (
113- ref : PromptReference | ResourceReference , argument : CompletionArgument
114- ):
112+ async def complete (ref : PromptReference | ResourceReference , argument : CompletionArgument ):
115113 return Completion (
116114 values = ["completion1" , "completion2" ],
117115 )
You can’t perform that action at this time.
0 commit comments