Commit 580750d
committed
Add clarifying comment for type annotation in bind_tools
Explains that the 'type' annotation matches LangChain's BaseChatModel API
and that runtime validation occurs in convert_to_openai_tool().1 parent d7be806 commit 580750d
File tree
2 files changed
+4
-0
lines changed- libs/oci/langchain_oci/chat_models
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| 774 | + | |
| 775 | + | |
774 | 776 | | |
775 | 777 | | |
776 | 778 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1237 | 1237 | | |
1238 | 1238 | | |
1239 | 1239 | | |
| 1240 | + | |
| 1241 | + | |
1240 | 1242 | | |
1241 | 1243 | | |
1242 | 1244 | | |
| |||
0 commit comments