Skip to content

Commit 46e3c4b

Browse files
committed
Fix
1 parent 9eafc4c commit 46e3c4b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: tests/test_llama.py

+4-3
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)