Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Raising ValueError for invalid LLMConfig str.#16

Merged
acompa merged 1 commit into
mainfrom
a9-llm-conf-str-err
Aug 12, 2024
Merged

Raising ValueError for invalid LLMConfig str.#16
acompa merged 1 commit into
mainfrom
a9-llm-conf-str-err

Conversation

@acompa
Copy link
Copy Markdown
Contributor

@acompa acompa commented Aug 7, 2024

Caught this while preparing run-llama/llama_index#15161, so this PR handles LLMConfig strings a bit more carefully.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 7, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  notdiamond/llms
  config.py 145
  notdiamond/toolkit
  custom_router.py
  tests/test_documentation
  test_structured_output.py
Project Total  

This report was generated by python-coverage-comment-action

@acompa acompa merged commit 6cd87c4 into main Aug 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants