这是indexloc提供的服务,不要输入任何密码
Skip to content

fix type checks for plugins #2423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 29, 2025
Merged

fix type checks for plugins #2423

merged 10 commits into from
May 29, 2025

Conversation

longcw
Copy link
Contributor

@longcw longcw commented May 28, 2025

  • fix all type checks
  • fix openai and google stt for the new ConnectionPool async def connection(self, *, timeout: float) -> AsyncGenerator[T, None]
  • fix raw function tools for anthropic and aws llm

Copy link
Contributor

github-actions bot commented May 28, 2025

⚠️ Changeset Required

We detected changes in the following package(s) but no changeset file was found. Please add one for proper versioning:

  • livekit-agents
  • livekit-plugins-anthropic
  • livekit-plugins-assemblyai
  • livekit-plugins-aws
  • livekit-plugins-azure
  • livekit-plugins-bey
  • livekit-plugins-bithuman
  • livekit-plugins-cartesia
  • livekit-plugins-clova
  • livekit-plugins-deepgram
  • livekit-plugins-elevenlabs
  • livekit-plugins-fal
  • livekit-plugins-gladia
  • livekit-plugins-google
  • livekit-plugins-groq
  • livekit-plugins-hume
  • livekit-plugins-minimal
  • livekit-plugins-neuphonic
  • livekit-plugins-nltk
  • livekit-plugins-openai
  • livekit-plugins-playai
  • livekit-plugins-resemble
  • livekit-plugins-rime
  • livekit-plugins-silero
  • livekit-plugins-speechify
  • livekit-plugins-speechmatics
  • livekit-plugins-tavus
  • livekit-plugins-turn-detector

👉 Create a changeset file by clicking here.

@longcw longcw changed the title [wip] fix type checks for plugins fix type checks for plugins May 29, 2025
@longcw longcw requested a review from a team May 29, 2025 09:45
Copy link
Member

@theomonnom theomonnom left a comment

Choose a reason for hiding this comment

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

🙌

@@ -198,7 +202,7 @@ def __init__(
entra_token: str | None = None,
api_key: str | None = None,
api_version: str | None = None,
base_url: str | None = None,
base_url: NotGivenOr[str] = NOT_GIVEN,
Copy link
Member

Choose a reason for hiding this comment

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

nit, I generally prefer to use str | None over NotGivenOr when we don't need to.
(we tend to over-use NotGiven in our codebase, but it's OK)

@longcw longcw merged commit 4ea8e29 into main May 29, 2025
22 of 23 checks passed
@longcw longcw deleted the longc/fix-plugins-types branch May 29, 2025 13:03
jayesh-mivi pushed a commit to mivi-dev-org/custom-livekit-agents that referenced this pull request Jun 4, 2025
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