Skip to content

Commit 315a82f

Browse files
committed
Fix type annotations
1 parent ba36629 commit 315a82f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

llama_cpp/server/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
Then visit http://localhost:8000/docs to see the interactive API docs.
2222
2323
"""
24+
from __future__ import annotations
25+
2426
import os
2527
import sys
2628
import argparse

llama_cpp/server/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import sys
24
import json
35
import traceback

llama_cpp/server/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import multiprocessing
24
from typing import Optional, List, Literal
35
from pydantic import Field

0 commit comments

Comments
 (0)