Skip to content

Change LLM Engine base path from global var#482

Merged
squeakymouse merged 3 commits intomainfrom
katiewu/llm-engine-client-base-path
Apr 4, 2024
Merged

Change LLM Engine base path from global var#482
squeakymouse merged 3 commits intomainfrom
katiewu/llm-engine-client-base-path

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


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

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
@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.

4 participants