Skip to content

fix(chat): fix chat app model key access, update documents.#174

Closed
johnson2500 wants to merge 4 commits into
mainfrom
rj_rag_docs
Closed

fix(chat): fix chat app model key access, update documents.#174
johnson2500 wants to merge 4 commits into
mainfrom
rj_rag_docs

Conversation

@johnson2500
Copy link
Copy Markdown
Collaborator

  • Fix issue in llama stack UI where the wrong values were being accessed and erroring out.
  • Update documentation for how to use remote llm.

models = client.models.list()
model_list = [
model.identifier for model in models
if model.api_model_type == "llm" and model.identifier not in shields_set
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this was wrong, maybe a wrong version was used in dev. But this was the error we are seeing in ARGO CD.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same error was seen when testing the latest main branch. This should fix both issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants