Skip to content

fix external import error#211

Merged
mayinghan merged 2 commits intomainfrom
fix-external-import
Sep 23, 2025
Merged

fix external import error#211
mayinghan merged 2 commits intomainfrom
fix-external-import

Conversation

@mayinghan
Copy link
Copy Markdown
Collaborator

Screenshot 2025-09-23 at 4 45 22 PM

@mayinghan mayinghan requested a review from dphuang2 September 23, 2025 23:46

def _responses_tools_to_chat_completion_tools(
self, tools: List[Tool]
) -> Sequence[ChatCompletionFunctionToolParam]:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, what is this change? was it incorrect before?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think its a version issue, i tested in a clean env (0 previous installed dependencies in it) and it complained on this import.

Comment on lines +44 to +47
try:
from .adapters import OpenAIResponsesAdapter
except ImportError:
OpenAIResponsesAdapter = None
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@mayinghan mayinghan merged commit bcc2d7c into main Sep 23, 2025
7 checks passed
@mayinghan mayinghan deleted the fix-external-import branch September 23, 2025 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants