Merge pull request 'Add streamable-http transport option' (#6) from streamable-http into main
Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
@@ -11,4 +11,4 @@ COPY main.py .
|
|||||||
|
|
||||||
ENV PATH="/app/.venv/bin:$PATH"
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
|
|
||||||
CMD ["uv", "run", "python", "main.py", "--transport", "sse", "--port", "8000"]
|
CMD ["uv", "run", "python", "main.py", "--transport", "streamable-http", "--port", "8000"]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ def _parse_args() -> argparse.Namespace:
|
|||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--transport",
|
"--transport",
|
||||||
choices=["stdio", "sse"],
|
choices=["stdio", "sse", "streamable-http"],
|
||||||
default="stdio",
|
default="stdio",
|
||||||
)
|
)
|
||||||
parser.add_argument("--host", default="0.0.0.0")
|
parser.add_argument("--host", default="0.0.0.0")
|
||||||
|
|||||||
Reference in New Issue
Block a user