langchain/libs/core/langchain_core/messages
Nuno Campos 663747b730
core[patch]: Fixes for convert_messages (#21207)
- support two-tuples of any sequence type (eg. json.loads never produces
tuples)
- support type alias for role key
- if id is passed in in dict form use it
- if tool_calls passed in in dict form use them

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-05-02 16:55:42 +00:00
..
__init__.py core[patch]: Fix imports defined in messages sub-package (#20500) 2024-04-16 14:19:51 +00:00
ai.py [Core] Feat Pretty Print Tool calls (#20997) 2024-04-30 07:14:43 -07:00
base.py core: Assign missing message ids in BaseChatModel (#19863) 2024-04-02 01:18:36 +00:00
chat.py core: Assign missing message ids in BaseChatModel (#19863) 2024-04-02 01:18:36 +00:00
function.py core: Assign missing message ids in BaseChatModel (#19863) 2024-04-02 01:18:36 +00:00
human.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
system.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
tool.py remove placeholder error message (#20340) 2024-04-26 13:48:48 +00:00
utils.py core[patch]: Fixes for convert_messages (#21207) 2024-05-02 16:55:42 +00:00