Bootstrap pyro_mcp v0.0.1 with MCP static tool and Ollama demo
This commit is contained in:
commit
11d6f4bcb4
18 changed files with 1945 additions and 0 deletions
36
Makefile
Normal file
36
Makefile
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
PYTHON ?= uv run python
|
||||
OLLAMA_BASE_URL ?= http://localhost:11434/v1
|
||||
OLLAMA_MODEL ?= llama:3.2-3b
|
||||
|
||||
.PHONY: setup lint format typecheck test check demo ollama ollama-demo run-server install-hooks
|
||||
|
||||
setup:
|
||||
uv sync --dev
|
||||
|
||||
lint:
|
||||
uv run ruff check .
|
||||
|
||||
format:
|
||||
uv run ruff format .
|
||||
|
||||
typecheck:
|
||||
uv run mypy
|
||||
|
||||
test:
|
||||
uv run pytest
|
||||
|
||||
check: lint typecheck test
|
||||
|
||||
demo:
|
||||
uv run python examples/static_tool_demo.py
|
||||
|
||||
ollama: ollama-demo
|
||||
|
||||
ollama-demo:
|
||||
uv run pyro-mcp-ollama-demo --base-url "$(OLLAMA_BASE_URL)" --model "$(OLLAMA_MODEL)"
|
||||
|
||||
run-server:
|
||||
uv run pyro-mcp-server
|
||||
|
||||
install-hooks:
|
||||
uv run pre-commit install
|
||||
Loading…
Add table
Add a link
Reference in a new issue