mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Update new_api_provider.md
This commit is contained in:
parent
af75618348
commit
25b37c9ff7
1 changed files with 3 additions and 3 deletions
|
@ -11,10 +11,10 @@ This guide contains references to walk you through
|
||||||
4. Test your code!
|
4. Test your code!
|
||||||
|
|
||||||
### Testing your newly added API providers
|
### Testing your newly added API providers
|
||||||
1. Start Llama Stack server with your
|
1. Start Llama Stack server with your distribution including your API provider.
|
||||||
2. Test with sending a client request to the server.
|
2. Test with sending a client request to the server. You may find more complex client scripts [llama-stack-apps](https://github.com/meta-llama/llama-stack-apps/tree/main) repo. Note down which scripts works and do not work with your distribution.
|
||||||
3. Add tests for your newly added provider. See [tests/](../tests/) for example unit tests.
|
3. Add tests for your newly added provider. See [tests/](../tests/) for example unit tests.
|
||||||
4. Test the supported functionalities for your provider using our providers tests infra. See [llama_stack/providers/tests/<api>/test_<api>](../llama_stack/providers/tests/inference/test_inference.py).
|
4. Test the supported functionalities for your provider using our providers tests infra. See [llama_stack/providers/tests/<api>/test_<api>](../llama_stack/providers/tests/inference/test_inference.py).
|
||||||
|
|
||||||
### Submit your PR
|
### Submit your PR
|
||||||
After you have fully tested your newly added API provider, submit a PR with the attached test plan, and we will help you verify the necessary requirements.
|
After you have fully tested your newly added API provider, submit a PR with the attached test plan.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue