llama-stack-mirror/llama_stack/distribution
Dinesh Yeduguru 7fb2c1c48d
More idiomatic REST API (#765)
# What does this PR do?

This PR changes our API to follow more idiomatic REST API approaches of
having paths being resources and methods indicating the action being
performed.

Changes made to generator:
1) removed the prefix check of "get" as its not required and is actually
needed for other method types too
2) removed _ check on path since variables can have "_"



## Test Plan

LLAMA_STACK_BASE_URL=http://localhost:5000 pytest -v
tests/client-sdk/agents/test_agents.py
2025-01-15 13:20:09 -08:00
..
routers More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
server More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
store Fix broken tests in test_registry (#707) 2025-01-14 14:33:15 -08:00
ui Convert SamplingParams.strategy to a union (#767) 2025-01-15 05:38:51 -08:00
utils [CICD] Github workflow for publishing Docker images (#764) 2025-01-15 09:01:33 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
build.py [CICD] Github workflow for publishing Docker images (#764) 2025-01-15 09:01:33 -08:00
build_conda_env.sh added support of PYPI_VERSION in stack build (#762) 2025-01-14 13:45:42 -08:00
build_container.sh [CICD] Github workflow for publishing Docker images (#764) 2025-01-15 09:01:33 -08:00
build_venv.sh Miscellaneous fixes around telemetry, library client and run yaml autogen 2024-12-08 20:40:22 -08:00
client.py use API version in "remote" stack client 2024-11-19 15:59:47 -08:00
common.sh API Updates (#73) 2024-09-17 19:51:35 -07:00
configure.py [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
configure_container.sh docker: Check for selinux before using --security-opt (#167) 2024-10-02 10:37:41 -07:00
datatypes.py agents to use tools api (#673) 2025-01-08 19:01:00 -08:00
distribution.py Tools API with brave and MCP providers (#639) 2024-12-19 21:25:17 -08:00
inspect.py add --version to llama stack CLI & /version endpoint (#732) 2025-01-08 16:30:06 -08:00
library_client.py [bugfix] fix streaming GeneratorExit exception with LlamaStackAsLibraryClient (#760) 2025-01-14 10:58:46 -08:00
request_headers.py Add X-LlamaStack-Client-Version, rename ProviderData -> Provider-Data (#735) 2025-01-09 11:51:36 -08:00
resolver.py agents to use tools api (#673) 2025-01-08 19:01:00 -08:00
stack.py More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
start_conda_env.sh Move to use argparse, fix issues with multiple --env cmdline options 2024-11-18 16:31:59 -08:00
start_container.sh rename LLAMASTACK_PORT to LLAMA_STACK_PORT for consistency with other env vars (#744) 2025-01-10 11:09:49 -08:00