Skip to content

LCORE-2308: LlamaStack Pydantic AI Provider#1806

Draft
jrobertboos wants to merge 3 commits into
lightspeed-core:mainfrom
jrobertboos:lcore-2308
Draft

LCORE-2308: LlamaStack Pydantic AI Provider#1806
jrobertboos wants to merge 3 commits into
lightspeed-core:mainfrom
jrobertboos:lcore-2308

Conversation

@jrobertboos
Copy link
Copy Markdown
Contributor

Description

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change
  • Unit tests improvement
  • Integration tests improvement
  • End to end tests improvement
  • Benchmarks improvement

Tools used to create PR

Identify any AI code assistants used in this PR (for transparency and review context)

  • Assisted-by: (e.g., Claude, CodeRabbit, Ollama, etc., N/A if not used)
  • Generated by: (e.g., tool name and version; N/A if not used)

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 504fddbb-d3b1-4fd1-b123-566b34c857da

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment thread src/pydantic_ai_lightspeed/llamastack/_provider.py Fixed
Comment thread src/pydantic_ai_lightspeed/llamastack/_provider.py Fixed
Comment thread src/pydantic_ai_lightspeed/llamastack/_provider.py Fixed
Comment thread src/pydantic_ai_lightspeed/llamastack/_provider.py Fixed
path: str,
body: dict[str, Any],
) -> httpx.Response:
assert self._client.route_impls is not None
Comment thread src/pydantic_ai_lightspeed/llamastack/_transport.py Fixed
Comment on lines +82 to +83
lib_http_client = httpx.AsyncClient(
transport=transport, base_url="http://llama-stack-library"
Comment on lines +72 to +73
assert (
base_url is None
assert (
base_url is None
), "Cannot provide both `library_client` and `base_url`"
assert api_key is None, "Cannot provide both `library_client` and `api_key`"
Comment on lines +76 to +77
assert (
http_client is None
path: str,
body: dict[str, Any],
) -> httpx.Response:
assert self._client.route_impls is not None
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