|
| 1 | +# Copyright 2026 LiveKit, Inc. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +"""Rumik AI plugin for LiveKit Agents |
| 16 | +
|
| 17 | +See https://docs.livekit.io/agents/integrations/rumik/ for more information. |
| 18 | +""" |
| 19 | + |
| 20 | +from .tts import TTS as TTS, ChunkedStream as ChunkedStream |
| 21 | +from .version import __version__ as __version__ |
| 22 | + |
| 23 | +__all__ = ["TTS", "ChunkedStream", "__version__"] |
| 24 | + |
| 25 | +from livekit.agents import Plugin |
| 26 | + |
| 27 | + |
| 28 | +class RumikPlugin(Plugin): |
| 29 | + def __init__(self) -> None: |
| 30 | + super().__init__(__name__, __version__, __package__) |
| 31 | + |
| 32 | + |
| 33 | +Plugin.register_plugin(RumikPlugin()) |
| 34 | + |
| 35 | +# Cleanup docs of unexported modules |
| 36 | +_module = dir() |
| 37 | +NOT_IN_ALL = [m for m in _module if m not in __all__] |
| 38 | + |
| 39 | +__pdoc__ = {} |
| 40 | + |
| 41 | +for n in NOT_IN_ALL: |
| 42 | + __pdoc__[n] = False |
0 commit comments