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

Change LLM Engine base path from global var #482

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

squeakymouse
Copy link
Contributor

Pull Request Summary

Needed for SGP code that uses LLM Engine

Test Plan and Usage Guide

Tested with pip install -e .

@squeakymouse squeakymouse requested a review from a team April 2, 2024 23:53
DEFAULT_TIMEOUT: int = 10

api_key = None


def get_base_path() -> str:
return os.getenv("LLM_ENGINE_BASE_PATH", SPELLBOOK_API_URL)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: since we're changing things with this var, should we rename SPELLBOOK as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to keep the Spellbook URL up anyway, and the new APIs also don't support the LLM Engine mirrors that we need, so I think keeping this as Spellbook is still accurate? :)

@squeakymouse squeakymouse enabled auto-merge (squash) April 4, 2024 00:52
@squeakymouse squeakymouse merged commit 2b4466b into main Apr 4, 2024
5 checks passed
@squeakymouse squeakymouse deleted the katiewu/llm-engine-client-base-path branch April 4, 2024 01:14
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.

None yet

4 participants