From 2330ab1e7c274c65786da036be98d2987f1d8e45 Mon Sep 17 00:00:00 2001 From: Patrick Gray Date: Fri, 23 May 2025 14:56:31 +0000 Subject: [PATCH] lint - openai client protocol --- src/strands/models/openai.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/strands/models/openai.py b/src/strands/models/openai.py index f76ae0189..6e32c5bdd 100644 --- a/src/strands/models/openai.py +++ b/src/strands/models/openai.py @@ -17,7 +17,10 @@ class Client(Protocol): """Protocol defining the OpenAI-compatible interface for the underlying provider client.""" - chat: Any + @property + def chat(self) -> Any: + """Chat completions interface.""" + ... class OpenAIModel(SAOpenAIModel):