forked from phoenix-oss/llama-stack-mirror
test: turn off recordable mock for now (#1616)
Summary: will figure out how to do this best, turning it off for now. Test Plan: test_agents.py --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/meta-llama/llama-stack/pull/1616). * __->__ #1616 * #1615
This commit is contained in:
parent
a1bb7c8d82
commit
ed841380dc
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ def llama_stack_client_with_mocked_inference(llama_stack_client, request):
|
||||||
|
|
||||||
If --record-responses is passed, it will call the real APIs and record the responses.
|
If --record-responses is passed, it will call the real APIs and record the responses.
|
||||||
"""
|
"""
|
||||||
|
# TODO: will rework this to be more stable
|
||||||
|
return llama_stack_client
|
||||||
if not isinstance(llama_stack_client, LlamaStackAsLibraryClient):
|
if not isinstance(llama_stack_client, LlamaStackAsLibraryClient):
|
||||||
logging.warning(
|
logging.warning(
|
||||||
"llama_stack_client_with_mocked_inference is not supported for this client, returning original client without mocking"
|
"llama_stack_client_with_mocked_inference is not supported for this client, returning original client without mocking"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue