Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Dec 6, 2023
1 parent 5ff8f76 commit b80d753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain/langchain/chat_models/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def bind_tools(
"""
from langchain.chains.openai_functions.base import convert_to_openai_function

formatted_tools = [
formatted_tools: Dict[str, Union[str, dict]] = [
{"type": "function", "function": convert_to_openai_function(tool)}
for tool in tools
]
Expand Down

0 comments on commit b80d753

Please sign in to comment.