debug and fix

This commit is contained in:
Ashwin Bharambe 2025-08-18 13:07:00 -07:00
parent 3bfbc212fa
commit 1a01ce6a2c
2 changed files with 7 additions and 2 deletions

View file

@ -25,6 +25,9 @@ runs:
uv sync --all-groups
uv pip install ollama faiss-cpu
# You must install llama-stack first because otherwise it will overwrite llama-stack-client-python
uv pip install -e .
# Install llama-stack-client-python based on the client-version input
if [ "${{ inputs.client-version }}" = "latest" ]; then
echo "Installing latest llama-stack-client-python from main branch"
@ -37,4 +40,3 @@ runs:
exit 1
fi
uv pip install -e .

View file

@ -7,6 +7,7 @@
from typing import Any
from uuid import uuid4
import llama_stack_client as lsc_package
import pytest
import requests
from llama_stack_client import Agent, AgentEventLogger, Document
@ -134,7 +135,9 @@ def test_agent_simple(llama_stack_client, agent_config):
def test_agent_name(llama_stack_client, text_model_id):
print(f"llama stack client package location: {llama_stack_client.__file__}")
print(f"llama stack client package version: {lsc_package.__version__}")
print(f"llama stack client package location: {lsc_package.__file__}")
agent_name = f"test-agent-{uuid4()}"
agent = Agent(
llama_stack_client,