partner: Add groq partner integration and chat model (#17856)

Description: Add a Groq chat model
issue: TODO
Dependencies: groq
Twitter handle: N/A
This commit is contained in:
Graden Rea
2024-02-22 07:36:16 -08:00
committed by GitHub
parent da957a22cc
commit e5e38e89ce
24 changed files with 2741 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import sys
import traceback
from importlib.machinery import SourceFileLoader
if __name__ == "__main__":
files = sys.argv[1:]
has_failure = False
for file in files:
try:
SourceFileLoader("x", file).load_module()
except Exception:
has_faillure = True
print(file)
traceback.print_exc()
print()
sys.exit(1 if has_failure else 0)