Skip to content

Commit ba40e05

Browse files
ajac-zeroDouweM
andauthored
Update pydantic_ai_slim/pydantic_ai/models/openai.py
Co-authored-by: Douwe Maan <[email protected]>
1 parent a65a795 commit ba40e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ def _map_model_response(self, message: ModelResponse) -> chat.ChatCompletionMess
746746
def _map_finish_reason(
747747
self, key: Literal['stop', 'length', 'tool_calls', 'content_filter', 'function_call']
748748
) -> FinishReason | None:
749-
"""Hooks that maps a finish reason key to a [FinishReason](pydantic_ai.messages.FinishReason).
749+
"""Hooks that maps a finish reason key to a [FinishReason][pydantic_ai.messages.FinishReason].
750750
751751
This method may be overridden by subclasses of `OpenAIChatModel` to accommodate custom keys.
752752
"""

0 commit comments

Comments
 (0)