Add API keys to AgenticSystemConfig instead of relying on dotenv (#33)

This commit is contained in:
Ashwin Bharambe 2024-08-21 12:35:59 -07:00 committed by GitHub
parent face3ceff1
commit ab0a24f333
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 9 deletions

View file

@ -27,7 +27,6 @@ from typing import (
import fire
import httpx
import yaml
from dotenv import load_dotenv
from fastapi import FastAPI, HTTPException, Request, Response
from fastapi.exceptions import RequestValidationError
@ -42,8 +41,6 @@ from .dynamic import instantiate_client, instantiate_provider
from .registry import resolve_distribution_spec
load_dotenv()
def is_async_iterator_type(typ):
if hasattr(typ, "__origin__"):