llama-stack/llama_stack/providers/inline
Ashwin Bharambe 12947ac19e
Kill "remote" providers and fix testing with a remote stack properly (#435)
# What does this PR do?

This PR kills the notion of "pure passthrough" remote providers. You
cannot specify a single provider you must specify a whole distribution
(stack) as remote.

This PR also significantly fixes / upgrades testing infrastructure so
you can now test against a remotely hosted stack server by just doing

```bash
pytest -s -v -m remote  test_agents.py \
  --inference-model=Llama3.1-8B-Instruct --safety-shield=Llama-Guard-3-1B \
  --env REMOTE_STACK_URL=http://localhost:5001
```

Also fixed `test_agents_persistence.py` (which was broken) and killed
some deprecated testing functions.

## Test Plan

All the tests.
2024-11-12 21:51:29 -08:00
..
agents Allow specifying resources in StackRunConfig (#425) 2024-11-12 10:58:49 -08:00
datasetio/localfs migrate dataset to resource (#420) 2024-11-11 17:14:41 -08:00
eval/meta_reference Inference to use provider resource id to register and validate (#428) 2024-11-12 20:02:00 -08:00
inference Inference to use provider resource id to register and validate (#428) 2024-11-12 20:02:00 -08:00
ios/inference impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00
memory versioned persistence key prefixes 2024-11-12 10:30:39 -08:00
meta_reference Folder restructure for evals/datasets/scoring (#419) 2024-11-11 17:35:40 -05:00
safety Kill "remote" providers and fix testing with a remote stack properly (#435) 2024-11-12 21:51:29 -08:00
scoring Inference to use provider resource id to register and validate (#428) 2024-11-12 20:02:00 -08:00
__init__.py impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00