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 46e3c4b

Browse filesBrowse files
committed
Fix
1 parent 9eafc4c commit 46e3c4b
Copy full SHA for 46e3c4b

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎tests/test_llama.py

Copy file name to clipboardExpand all lines: tests/test_llama.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,10 @@ def test_llama_server():
151151
from fastapi.testclient import TestClient
152152
from llama_cpp.server.app import create_app, Settings
153153

154-
settings = Settings()
155-
settings.model = MODEL
156-
settings.vocab_only = True
154+
settings = Settings(
155+
model=MODEL,
156+
vocab_only=True,
157+
)
157158
app = create_app(settings)
158159
client = TestClient(app)
159160
response = client.get("/v1/models")

0 commit comments

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