xiaogpt 2.61__tar.gz → 2.62__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xiaogpt-2.61 → xiaogpt-2.62}/PKG-INFO +1 -1
- {xiaogpt-2.61 → xiaogpt-2.62}/pyproject.toml +1 -1
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/xiaogpt.py +1 -1
- {xiaogpt-2.61 → xiaogpt-2.62}/LICENSE +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/README.md +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/__init__.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/__main__.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/__init__.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/base_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/chatgptapi_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/doubao_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/gemini_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/glm_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/langchain_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/newbing_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/bot/qwen_bot.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/cli.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/config.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/langchain/callbacks.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/langchain/chain.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/langchain/examples/email/mail_box.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/langchain/examples/email/mail_summary_tools.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/tts/__init__.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/tts/base.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/tts/mi.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/tts/tetos.py +0 -0
- {xiaogpt-2.61 → xiaogpt-2.62}/xiaogpt/utils.py +0 -0
@@ -411,7 +411,7 @@ class MiGPT:
|
|
411
411
|
await self.wakeup_xiaoai()
|
412
412
|
|
413
413
|
async def speak(self, text_stream: AsyncIterator[str]) -> None:
|
414
|
-
text = await
|
414
|
+
text = await text_stream.__anext__()
|
415
415
|
# See if the first part contains language code(e.g. en-US|Hello world)
|
416
416
|
lang, _, first_chunk = text.rpartition("|")
|
417
417
|
if len(lang) > 7:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|