exa: init pkg (#16553)

This commit is contained in:
Erick Friis
2024-01-24 20:57:17 -07:00
committed by GitHub
parent c4e9c9ca29
commit adc008407e
27 changed files with 1521 additions and 25 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -eu
# Initialize a variable to keep track of errors
errors=0
# make sure not importing from langchain or langchain_experimental
git --no-pager grep '^from langchain\.' . && errors=$((errors+1))
git --no-pager grep '^from langchain_experimental\.' . && errors=$((errors+1))
# Decide on an exit status based on the errors
if [ "$errors" -gt 0 ]; then
exit 1
else
exit 0
fi