fireworks[patch]: Add Fireworks partner packages (#17694)

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Yufei (Benny) Chen
2024-02-23 12:45:47 -08:00
committed by GitHub
parent 11cf95e810
commit ee6a773456
31 changed files with 4740 additions and 1550 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) # noqa: T201
traceback.print_exc()
print() # noqa: T201
sys.exit(1 if has_failure else 0)