Skip to content

Commit 07bb215

Browse files
committed
Remove unnecessary comments
1 parent dc76be2 commit 07bb215

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

packages/ai-providers/server-ai-openai/src/ldai_openai/openai_provider.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ def __init__(
3737
self._model_name = model_name
3838
self._parameters = parameters
3939

40-
# =============================================================================
41-
# MAIN FACTORY METHOD
42-
# =============================================================================
43-
4440
@staticmethod
4541
async def create(ai_config: AIConfigKind) -> 'OpenAIProvider':
4642
"""
@@ -60,10 +56,6 @@ async def create(ai_config: AIConfigKind) -> 'OpenAIProvider':
6056

6157
return OpenAIProvider(client, model_name, parameters)
6258

63-
# =============================================================================
64-
# INSTANCE METHODS (AIProvider Implementation)
65-
# =============================================================================
66-
6759
async def invoke_model(self, messages: List[LDMessage]) -> ChatResponse:
6860
"""
6961
Invoke the OpenAI model with an array of messages.
@@ -194,10 +186,6 @@ def get_client(self) -> AsyncOpenAI:
194186
"""
195187
return self._client
196188

197-
# =============================================================================
198-
# STATIC UTILITY METHODS
199-
# =============================================================================
200-
201189
@staticmethod
202190
def get_ai_metrics_from_response(response: Any) -> LDAIMetrics:
203191
"""

0 commit comments

Comments
 (0)