Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions clients/python/llmengine/api_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@

api_key = None

def set_api_key(key):

def set_api_key(key):
global api_key
api_key = key


def get_api_key() -> str:
if api_key is not None:
if api_key is not None:
return api_key
env_api_key = os.getenv("SCALE_API_KEY")
return env_api_key or "root"
Expand Down
1 change: 1 addition & 0 deletions docs/model_zoo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Scale hosts the following models in the LLM Engine Model Zoo:
| `llama-2-7b-chat` | ✅ | |
| `llama-2-13b` | ✅ | |
| `llama-2-13b-chat` | ✅ | |
| `llama-2-70b` | ✅ | |
| `falcon-7b` | ✅ | |
| `falcon-7b-instruct` | ✅ | |
| `falcon-40b` | ✅ | |
Expand Down