xiaogpt 3.1__tar.gz → 3.2__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.
Files changed (29) hide show
  1. {xiaogpt-3.1 → xiaogpt-3.2}/PKG-INFO +1 -1
  2. {xiaogpt-3.1 → xiaogpt-3.2}/pyproject.toml +1 -1
  3. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/xiaogpt.py +1 -0
  4. {xiaogpt-3.1 → xiaogpt-3.2}/LICENSE +0 -0
  5. {xiaogpt-3.1 → xiaogpt-3.2}/README.md +0 -0
  6. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/__init__.py +0 -0
  7. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/__main__.py +0 -0
  8. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/__init__.py +0 -0
  9. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/base_bot.py +0 -0
  10. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/chatgptapi_bot.py +0 -0
  11. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/doubao_bot.py +0 -0
  12. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/gemini_bot.py +0 -0
  13. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/glm_bot.py +0 -0
  14. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/langchain_bot.py +0 -0
  15. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/llama_bot.py +0 -0
  16. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/moonshot_bot.py +0 -0
  17. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/qwen_bot.py +0 -0
  18. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/bot/yi_bot.py +0 -0
  19. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/cli.py +0 -0
  20. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/config.py +0 -0
  21. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/langchain/callbacks.py +0 -0
  22. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/langchain/chain.py +0 -0
  23. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/langchain/examples/email/mail_box.py +0 -0
  24. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/langchain/examples/email/mail_summary_tools.py +0 -0
  25. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/tts/__init__.py +0 -0
  26. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/tts/base.py +0 -0
  27. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/tts/mi.py +0 -0
  28. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/tts/tetos.py +0 -0
  29. {xiaogpt-3.1 → xiaogpt-3.2}/xiaogpt/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xiaogpt
3
- Version: 3.1
3
+ Version: 3.2
4
4
  Summary: Play ChatGPT or other LLM with xiaomi AI speaker
5
5
  Author-Email: yihong0618 <zouzou0208@gmail.com>
6
6
  License: MIT
@@ -31,7 +31,7 @@ dependencies = [
31
31
  "lingua-language-detector>=2.0.2; python_version < \"3.13\"",
32
32
  ]
33
33
  dynamic = []
34
- version = "3.1"
34
+ version = "3.2"
35
35
 
36
36
  [project.license]
37
37
  text = "MIT"
@@ -274,6 +274,7 @@ class MiGPT:
274
274
  message = message.strip().replace(" ", "--")
275
275
  message = message.replace("\n", ",")
276
276
  message = message.replace('"', ",")
277
+ message = message.replace('*', "")
277
278
  return message
278
279
 
279
280
  async def ask_gpt(self, query: str) -> AsyncIterator[str]:
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