Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: suport entra id #210

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

nherment
Copy link
Contributor

No description provided.

@@ -41,6 +41,18 @@ def completion(self, messages: List[Dict[str, Any]], tools: Optional[List[Tool]]
pass


def get_lite_llm_config(api_key:Optional[str], base_url:Optional[str]) -> Dict[str, Any]:

if os.environ.get("AZURE_API_BASE"):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should, This just avoids setting the api_key and base_url explicitly but litellm can read these though env vars, which is how we tell users to configure holmes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants