Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b64742b

Browse filesBrowse files
committed
better var name
1 parent 288fa85 commit b64742b
Copy full SHA for b64742b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎llama_cpp/server/app.py

Copy file name to clipboardExpand all lines: llama_cpp/server/app.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,10 +659,10 @@ async def get_models(
659659
"object": "list",
660660
"data": [
661661
{
662-
"id": model,
662+
"id": model_alias,
663663
"object": "model",
664664
"owned_by": "me",
665665
"permissions": [],
666-
} for model in llama
666+
} for model_alias in llama
667667
],
668668
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.