[breaking] bump transformers to 4.45.0 & improve ci (#7746)
* update ci * fix * fix * fix * fix * fix
This commit is contained in:
@@ -33,8 +33,8 @@ def calculate_gpa(grades: list[str], hours: list[int]) -> float:
|
||||
|
||||
def main():
|
||||
client = OpenAI(
|
||||
api_key="{}".format(os.environ.get("API_KEY", "0")),
|
||||
base_url="http://localhost:{}/v1".format(os.environ.get("API_PORT", 8000)),
|
||||
api_key="{}".format(os.getenv("API_KEY", "0")),
|
||||
base_url="http://localhost:{}/v1".format(os.getenv("API_PORT", 8000)),
|
||||
)
|
||||
tools = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user