llama-stack/llama_stack/providers
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
..
inline More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
registry agents to use tools api (#673) 2025-01-08 19:01:00 -08:00
remote Convert SamplingParams.strategy to a union (#767) 2025-01-15 05:38:51 -08:00
tests rebase eval test w/ tool_runtime fixtures (#773) 2025-01-15 12:55:19 -08:00
utils Convert SamplingParams.strategy to a union (#767) 2025-01-15 05:38:51 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py Tools API with brave and MCP providers (#639) 2024-12-19 21:25:17 -08:00