Merge pull request #8 from Neutralmilkzzz/fix-port-conflict
Change default gateway port to 18790
This commit is contained in:
commit
229fde021a
@ -154,7 +154,7 @@ This file stores important information that should persist across sessions.
|
|||||||
|
|
||||||
@app.command()
|
@app.command()
|
||||||
def gateway(
|
def gateway(
|
||||||
port: int = typer.Option(18789, "--port", "-p", help="Gateway port"),
|
port: int = typer.Option(18790, "--port", "-p", help="Gateway port"),
|
||||||
verbose: bool = typer.Option(False, "--verbose", "-v", help="Verbose output"),
|
verbose: bool = typer.Option(False, "--verbose", "-v", help="Verbose output"),
|
||||||
):
|
):
|
||||||
"""Start the nanobot gateway."""
|
"""Start the nanobot gateway."""
|
||||||
|
|||||||
@ -56,7 +56,7 @@ class ProvidersConfig(BaseModel):
|
|||||||
class GatewayConfig(BaseModel):
|
class GatewayConfig(BaseModel):
|
||||||
"""Gateway/server configuration."""
|
"""Gateway/server configuration."""
|
||||||
host: str = "0.0.0.0"
|
host: str = "0.0.0.0"
|
||||||
port: int = 18789
|
port: int = 18790
|
||||||
|
|
||||||
|
|
||||||
class WebSearchConfig(BaseModel):
|
class WebSearchConfig(BaseModel):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user