AstrBot 4.11.0__py3-none-any.whl → 4.11.1__py3-none-any.whl

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.
astrbot/cli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "4.11.0"
1
+ __version__ = "4.11.1"
@@ -5,7 +5,7 @@ from typing import Any, TypedDict
5
5
 
6
6
  from astrbot.core.utils.astrbot_path import get_astrbot_data_path
7
7
 
8
- VERSION = "4.11.0"
8
+ VERSION = "4.11.1"
9
9
  DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
10
10
 
11
11
  WEBHOOK_SUPPORTED_PLATFORMS = [
@@ -625,7 +625,7 @@ class ConfigRoute(Route):
625
625
  provider_list = []
626
626
  ps = self.core_lifecycle.provider_manager.providers_config
627
627
  p_source_pt = {
628
- psrc["id"]: psrc["provider_type"]
628
+ psrc["id"]: psrc.get("provider_type", "chat_completion")
629
629
  for psrc in self.core_lifecycle.provider_manager.provider_sources_config
630
630
  }
631
631
  for provider in ps:
@@ -640,7 +640,7 @@ class ConfigRoute(Route):
640
640
  provider
641
641
  )
642
642
  provider_list.append(prov)
643
- elif not ps_id and provider.get("provider_type", None) in provider_type_ls:
643
+ elif not ps_id and provider.get("provider_type", "") in provider_type_ls:
644
644
  # agent runner, embedding, etc
645
645
  provider_list.append(provider)
646
646
  return Response().ok(provider_list).__dict__
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AstrBot
3
- Version: 4.11.0
3
+ Version: 4.11.1
4
4
  Summary: Easy-to-use multi-platform LLM chatbot and development framework
5
5
  License-File: LICENSE
6
6
  Keywords: Astrbot,Astrbot Module,Astrbot Plugin
@@ -42,7 +42,7 @@ astrbot/builtin_stars/web_searcher/metadata.yaml,sha256=aHAKtP8UZJaddzIN2eFfglTO
42
42
  astrbot/builtin_stars/web_searcher/engines/__init__.py,sha256=yQtZwF4E19yVcyRIOLP9KEgnADXjeQd-AmCtVZtvjBs,4269
43
43
  astrbot/builtin_stars/web_searcher/engines/bing.py,sha256=pn3DPR-5SO2D_RtBIU3l9Ph7PTUB-FCZAMCYuk6kd6Q,1035
44
44
  astrbot/builtin_stars/web_searcher/engines/sogo.py,sha256=YA7pA5-335r7UgKpyUPAeGGZQbYEwDBO8bm08Ro8Xg0,1701
45
- astrbot/cli/__init__.py,sha256=MQuf3fbMpjUKJ6HrU3RU6E8TZHYxYwKcBl_cp_Aa-OQ,23
45
+ astrbot/cli/__init__.py,sha256=_EwhfgM8xlD0mtHRHwvF_Tlmaou00A5O6TR_2j5BtWc,23
46
46
  astrbot/cli/__main__.py,sha256=QobgMyFoLNTgI_OYddhGOZ9ZvQeBVjjz79mA2cC2OEU,1758
47
47
  astrbot/cli/commands/__init__.py,sha256=eAgppZQIqFO1ylQJFABeYrzQ0oZqPWjtE80aKIPB3ks,149
48
48
  astrbot/cli/commands/cmd_conf.py,sha256=6-YLicBt_zjWTzaVLUJ1VQLQPbDEPYACB9IVnN8Zvng,6330
@@ -99,7 +99,7 @@ astrbot/core/backup/exporter.py,sha256=tULFmXhYqRhJtAwePFkxXMSKqct1MSMyISv9LrfKw
99
99
  astrbot/core/backup/importer.py,sha256=efGW5-5ZAfvN1mg4rcc5OrcFTLfyj7L9T0Yd7SBUlNo,28618
100
100
  astrbot/core/config/__init__.py,sha256=vZjtpC7vr-IvBgSUtbS04C0wpulmCG5tPmcEP1WYE_4,172
101
101
  astrbot/core/config/astrbot_config.py,sha256=5r2VhCNO4VuGCqct12g10-TcvAKyXV40-suk5vRMGns,6436
102
- astrbot/core/config/default.py,sha256=RyYWmMVt5f8WVlS45olAcITjq9OX0VHcnJ-URbpvubM,153478
102
+ astrbot/core/config/default.py,sha256=kKRV6qy758Jo1Zii15d857QZaIAVWutogvjmEHM5Tcc,153478
103
103
  astrbot/core/config/i18n_utils.py,sha256=HJn_0XeeVS9ryCBelYfnc0nEn10LlX702fcSSFrF1J8,3879
104
104
  astrbot/core/db/__init__.py,sha256=fSL1KjluzLt0Qi3XhUuw2qtLrFHSJrInWNECJhb1pUA,13440
105
105
  astrbot/core/db/po.py,sha256=wvqf1s0ECGRfBCOfbBxSd4UOaSLLpXxZrkMPU7vli1w,12232
@@ -306,7 +306,7 @@ astrbot/dashboard/routes/auth.py,sha256=rYkvt3MpCY9BhWjG0DUoX3YaBkJT1Id7M2pKqTmX
306
306
  astrbot/dashboard/routes/backup.py,sha256=npYpOdFAxcBmzPyTWtzAV1WtoO916Rv61CJgcfisHgU,39382
307
307
  astrbot/dashboard/routes/chat.py,sha256=ntQrgrnOTIep_9Ycb1DCZjZBJPtlIJUO2YnTvC1GXFQ,27120
308
308
  astrbot/dashboard/routes/command.py,sha256=DYwcqUF1ibFVQ4qMX3Nob7f0Kz5HmQE0iBWrVNF3Hk8,2917
309
- astrbot/dashboard/routes/config.py,sha256=86dGTb9z3dX0yNwIdEB7eVB9llM_Yj5ojXdAsZVndZs,44766
309
+ astrbot/dashboard/routes/config.py,sha256=fAXfPhmR8_mlMTpA8ZIB5Gi9AHW5eMOgwvPR2Cfenf0,44787
310
310
  astrbot/dashboard/routes/conversation.py,sha256=TWGY7BJ9QfmbxurAieBrbMmCi4_Ua2klxsAUlSRXbng,14302
311
311
  astrbot/dashboard/routes/file.py,sha256=gULvXP9PnVOQlyv_PCEzZQE5ptnGQEjFPvwOLxdVgb4,708
312
312
  astrbot/dashboard/routes/knowledge_base.py,sha256=GZ_iDYV2uXXzvGMF-4VJ8hZxLdHIWSSfg_3wlWwsizA,46081
@@ -321,8 +321,8 @@ astrbot/dashboard/routes/static_file.py,sha256=7KnNcOb1BVqSTft114LhGsDkfg69X2jHE
321
321
  astrbot/dashboard/routes/t2i.py,sha256=F6smxdL99MF7cRw3hqS6-2GErw8Zhsv0V0mfBUeEk-c,8931
322
322
  astrbot/dashboard/routes/tools.py,sha256=mMwVFw_VOlpqy_WZg1A-ddGtYa5L5QLWYawl37PT0-c,15354
323
323
  astrbot/dashboard/routes/update.py,sha256=qXiqQ_dbqRVftOzGgCQrvK8-qopVK6zKhhVVJ9SK26U,6648
324
- astrbot-4.11.0.dist-info/METADATA,sha256=e4Xh6OW2mZJ8woIF1m_LDVUdJuablDePONkp1br8uyQ,12023
325
- astrbot-4.11.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
326
- astrbot-4.11.0.dist-info/entry_points.txt,sha256=OEF09YmhBWYuViXrvTLLpstF4ccmNwDL8r7nnFD0pfI,53
327
- astrbot-4.11.0.dist-info/licenses/LICENSE,sha256=zPfQj5Mq8-gThIiBcxETr7t8gND9bZWOjTGQAr80TQI,34500
328
- astrbot-4.11.0.dist-info/RECORD,,
324
+ astrbot-4.11.1.dist-info/METADATA,sha256=HKhcKaMmQD42rMBGPfOJRGZkEHKAiHUJ012u_7AbN_Y,12023
325
+ astrbot-4.11.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
326
+ astrbot-4.11.1.dist-info/entry_points.txt,sha256=OEF09YmhBWYuViXrvTLLpstF4ccmNwDL8r7nnFD0pfI,53
327
+ astrbot-4.11.1.dist-info/licenses/LICENSE,sha256=zPfQj5Mq8-gThIiBcxETr7t8gND9bZWOjTGQAr80TQI,34500
328
+ astrbot-4.11.1.dist-info/RECORD,,