Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def _check_model_presence(self, options: dict[str, Any]) -> None:

def _get_current_conversation_id(self, options: dict[str, Any], **kwargs: Any) -> str | None:
"""Get the current conversation ID from options dict or kwargs."""
Comment thread
giles17 marked this conversation as resolved.
Outdated
return options.get("conversation_id") or kwargs.get("conversation_id")
return kwargs.get("conversation_id") or options.get("conversation_id")
Comment thread
giles17 marked this conversation as resolved.

def _prepare_messages_for_openai(self, chat_messages: Sequence[ChatMessage]) -> list[dict[str, Any]]:
"""Prepare the chat messages for a request.
Expand Down
Loading