File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 3131from llama_cpp .server .app import create_app
3232from llama_cpp .server .settings import Settings , ServerSettings , set_settings
3333
34- EXE_NAME = 'llama_cpp.server'
35-
3634def get_base_type (annotation ):
3735 if getattr (annotation , '__origin__' , None ) is Literal :
3836 return type (annotation .__args__ [0 ])
@@ -73,7 +71,7 @@ def parse_bool_arg(arg):
7371
7472def main ():
7573 description = "🦙 Llama.cpp python server. Host your own LLMs!🚀"
76- parser = argparse .ArgumentParser (EXE_NAME , description = description )
74+ parser = argparse .ArgumentParser (description = description )
7775 for name , field in (ServerSettings .model_fields | Settings .model_fields ).items ():
7876 description = field .description
7977 if field .default and description and not field .is_required ():
Original file line number Diff line number Diff line change @@ -63,9 +63,6 @@ sdist.include = [".git", "vendor/llama.cpp/.git"]
6363provider = " scikit_build_core.metadata.regex"
6464input = " llama_cpp/__init__.py"
6565
66- [project .scripts ]
67- llama_cpp.server = " llama_cpp.server.__main__:main"
68-
6966[project .urls ]
7067Homepage = " https://github.com/abetlen/llama-cpp-python"
7168Issues = " https://github.com/abetlen/llama-cpp-python/issues"
You can’t perform that action at this time.
0 commit comments