community: fix ChatEdenAI + EdenAI Tools (#23715)

Fixes for Eden AI Custom tools and ChatEdenAI:
- add missing import in __init__ of chat_models
- add `args_schema` to custom tools. otherwise '__arg1' would sometimes
be passed to the `run` method
- fix IndexError when no human msg is added in ChatEdenAI
This commit is contained in:
KyrianC
2024-07-25 21:19:14 +02:00
committed by GitHub
parent 871bf5a841
commit 0fdbaf4a8d
10 changed files with 55 additions and 14 deletions

View File

@@ -11,6 +11,7 @@ EXPECTED_ALL = [
"ChatDatabricks",
"ChatDeepInfra",
"ChatEverlyAI",
"ChatEdenAI",
"ChatFireworks",
"ChatFriendli",
"ChatGooglePalm",