mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
c5296fd42c
… (#14723) - **Description:** Minor updates per marketing requests. Namely, name decisions (AI Foundation Models / AI Playground) - **Tag maintainer:** @hinthornw Do want to pass around the PR for a bit and ask a few more marketing questions before merge, but just want to make sure I'm not working in a vacuum. No major changes to code functionality intended; the PR should be for documentation and only minor tweaks. Note: QA model is a bit borked across staging/prod right now. Relevant teams have been informed and are looking into it, and I'm placeholdered the response to that of a working version in the notebook. Co-authored-by: Vadim Kudlay <32310964+VKudlay@users.noreply.github.com>
18 lines
419 B
Python
18 lines
419 B
Python
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)
|