agent: url params
This commit is contained in:
parent
ca1a640da2
commit
2b2127c2a3
1 changed files with 5 additions and 1 deletions
|
@ -143,7 +143,11 @@ def main(
|
||||||
verbose: bool = False,
|
verbose: bool = False,
|
||||||
style: Optional[ToolsPromptStyle] = None,
|
style: Optional[ToolsPromptStyle] = None,
|
||||||
|
|
||||||
model: Annotated[str, typer.Option("--model", "-m")] = "models/7B/ggml-model-f16.gguf",
|
model: Optional[Annotated[str, typer.Option("--model", "-m")]] = None,# = "models/7B/ggml-model-f16.gguf",
|
||||||
|
model_url: Optional[Annotated[str, typer.Option("--model-url", "-mu")]] = None,
|
||||||
|
hf_repo: Optional[Annotated[str, typer.Option("--hf-repo", "-hfr")]] = None,
|
||||||
|
hf_file: Optional[Annotated[str, typer.Option("--hf-file", "-hff")]] = None,
|
||||||
|
|
||||||
endpoint: Optional[str] = None,
|
endpoint: Optional[str] = None,
|
||||||
context_length: Optional[int] = None,
|
context_length: Optional[int] = None,
|
||||||
# endpoint: str = 'http://localhost:8080/v1/chat/completions',
|
# endpoint: str = 'http://localhost:8080/v1/chat/completions',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue