AstrBot 4.5.3__tar.gz → 4.5.7__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.
- {astrbot-4.5.3 → astrbot-4.5.7}/.dockerignore +3 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml +1 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/Dockerfile +8 -8
- {astrbot-4.5.3 → astrbot-4.5.7}/PKG-INFO +55 -65
- {astrbot-4.5.3 → astrbot-4.5.7}/README.md +53 -63
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/all.py +2 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/provider/__init__.py +2 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/run_context.py +7 -2
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/runners/base.py +7 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/runners/tool_loop_agent_runner.py +51 -3
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/tool.py +5 -6
- astrbot-4.5.7/astrbot/core/astr_agent_context.py +19 -0
- astrbot-4.5.7/astrbot/core/astr_agent_hooks.py +36 -0
- astrbot-4.5.7/astrbot/core/astr_agent_run_util.py +80 -0
- astrbot-4.5.7/astrbot/core/astr_agent_tool_exec.py +246 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/config/default.py +53 -7
- astrbot-4.5.7/astrbot/core/exceptions.py +9 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/context.py +1 -2
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/context_utils.py +0 -65
- astrbot-4.5.7/astrbot/core/pipeline/process_stage/method/llm_request.py +471 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/respond/stage.py +21 -20
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/platform_metadata.py +3 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/register.py +2 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py +2 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py +16 -5
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/discord/discord_platform_adapter.py +4 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/discord/discord_platform_event.py +16 -7
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/lark/lark_adapter.py +4 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/misskey/misskey_adapter.py +4 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/satori/satori_adapter.py +2 -2
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/slack/slack_adapter.py +2 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/webchat/webchat_adapter.py +3 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/webchat/webchat_event.py +8 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py +4 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_message_event.py +16 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom/wecom_adapter.py +2 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py +4 -1
- astrbot-4.5.7/astrbot/core/provider/__init__.py +4 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/entities.py +40 -18
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/func_tool_manager.py +15 -6
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/manager.py +4 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/provider.py +7 -22
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/register.py +2 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/anthropic_source.py +0 -2
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/coze_source.py +0 -2
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/dashscope_source.py +1 -3
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/dify_source.py +0 -2
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/gemini_source.py +31 -3
- astrbot-4.5.7/astrbot/core/provider/sources/groq_source.py +15 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/openai_source.py +67 -21
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/zhipu_source.py +1 -6
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/context.py +197 -45
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/register/star_handler.py +30 -10
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/chat.py +5 -0
- astrbot-4.5.7/changelogs/v4.5.4.md +5 -0
- astrbot-4.5.7/changelogs/v4.5.5.md +3 -0
- astrbot-4.5.7/changelogs/v4.5.6.md +3 -0
- astrbot-4.5.7/changelogs/v4.5.7.md +12 -0
- astrbot-4.5.7/dashboard/src/assets/images/icon-no-shadow.svg +1 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/chat/Chat.vue +209 -59
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/chat/MessageList.vue +96 -3
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/chat/ProviderModelSelector.vue +4 -4
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/AstrBotConfigV4.vue +2 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/KnowledgeBaseSelector.vue +27 -17
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/Logo.vue +0 -4
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/core/header.json +3 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/auth.json +1 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/chat.json +9 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/extension.json +8 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/core/header.json +3 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/auth.json +2 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/chat.json +9 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/extension.json +8 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/layouts/full/FullLayout.vue +12 -3
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +39 -8
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/main.ts +16 -2
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/layout/_container.scss +1 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/utils/providerUtils.js +1 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ChatPage.vue +1 -1
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ExtensionPage.vue +240 -81
- astrbot-4.5.7/dashboard/src/views/authentication/auth/LoginPage.vue +85 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/authentication/authForms/AuthLogin.vue +30 -63
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/main.py +12 -1
- astrbot-4.5.7/pyproject.toml +110 -0
- astrbot-4.5.3/Dockerfile_with_node +0 -40
- astrbot-4.5.3/astrbot/core/astr_agent_context.py +0 -14
- astrbot-4.5.3/astrbot/core/pipeline/process_stage/method/llm_request.py +0 -723
- astrbot-4.5.3/astrbot/core/provider/__init__.py +0 -4
- astrbot-4.5.3/dashboard/src/views/authentication/auth/LoginPage.vue +0 -463
- astrbot-4.5.3/packages/thinking_filter/main.py +0 -208
- astrbot-4.5.3/packages/thinking_filter/metadata.yaml +0 -5
- astrbot-4.5.3/pyproject.toml +0 -126
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/FUNDING.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/auto_assign.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/copilot-instructions.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/dependabot.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/workflows/auto_release.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/workflows/code-format.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/workflows/codeql.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/workflows/coverage_test.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/workflows/dashboard_ci.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/workflows/docker-image.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.github/workflows/stale.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.gitignore +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.pre-commit-config.yaml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/.python-version +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/CODE_OF_CONDUCT.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/LICENSE +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/README_en.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/README_ja.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/event/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/event/filter/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/message_components.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/platform/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/star/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/api/util/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/__main__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/commands/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/commands/cmd_conf.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/commands/cmd_init.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/commands/cmd_plug.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/commands/cmd_run.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/utils/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/utils/basic.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/utils/plugin.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/cli/utils/version_comparator.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/agent.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/handoff.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/hooks.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/mcp_client.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/message.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/response.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/runners/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/agent/tool_executor.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/astrbot_config_mgr.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/config/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/config/astrbot_config.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/conversation_mgr.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/core_lifecycle.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/migration/helper.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/migration/migra_3_to_4.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/migration/migra_45_to_46.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/migration/shared_preferences_v3.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/migration/sqlite_v3.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/po.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/sqlite.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/vec_db/base.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/vec_db/faiss_impl/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/vec_db/faiss_impl/document_storage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/vec_db/faiss_impl/embedding_storage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/vec_db/faiss_impl/sqlite_init.sql +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/db/vec_db/faiss_impl/vec_db.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/event_bus.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/file_token_service.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/initial_loader.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/chunking/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/chunking/base.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/chunking/fixed_size.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/chunking/recursive.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/kb_db_sqlite.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/kb_helper.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/kb_mgr.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/models.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/parsers/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/parsers/base.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/parsers/markitdown_parser.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/parsers/pdf_parser.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/parsers/text_parser.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/parsers/util.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/retrieval/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/retrieval/hit_stopwords.txt +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/retrieval/manager.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/retrieval/rank_fusion.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/knowledge_base/retrieval/sparse_retriever.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/log.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/message/components.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/message/message_event_result.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/persona_mgr.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/content_safety_check/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/content_safety_check/strategies/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/content_safety_check/strategies/baidu_aip.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/content_safety_check/strategies/keywords.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/content_safety_check/strategies/strategy.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/preprocess_stage/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/process_stage/method/star_request.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/process_stage/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/process_stage/utils.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/rate_limit_check/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/result_decorate/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/scheduler.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/session_status_check/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/waking_check/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/pipeline/whitelist_check/stage.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/astr_message_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/astrbot_message.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/manager.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/message_session.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/message_type.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/platform.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/dingtalk/dingtalk_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/discord/client.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/discord/components.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/lark/lark_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/misskey/misskey_api.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/misskey/misskey_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/misskey/misskey_utils.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/qqofficial/qqofficial_platform_adapter.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/satori/satori_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/slack/client.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/slack/slack_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/telegram/tg_adapter.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/telegram/tg_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/webchat/webchat_queue_mgr.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wechatpadpro/xml_data_parser.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom/wecom_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom/wecom_kf.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom/wecom_kf_message.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/WXBizJsonMsgCrypt.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/ierror.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_adapter.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_api.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_queue_mgr.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_server.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_utils.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_event.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/platform_message_history_mgr.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/entites.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/azure_tts_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/coze_api_client.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/dashscope_tts.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/edge_tts_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/fishaudio_tts_api_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/gemini_embedding_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/gemini_tts_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/gsv_selfhosted_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/gsvi_tts_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/minimax_tts_api_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/openai_embedding_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/openai_tts_api_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/sensevoice_selfhosted_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/vllm_rerank_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/volcengine_tts.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/whisper_api_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/whisper_selfhosted_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/xinference_rerank_source.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/provider/sources/xinference_stt_provider.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/README.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/config.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/command.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/command_group.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/custom_filter.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/event_message_type.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/permission.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/platform_adapter_type.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/filter/regex.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/register/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/register/star.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/session_llm_manager.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/session_plugin_manager.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/star.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/star_handler.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/star_manager.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/star_tools.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/star/updator.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/umop_config_router.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/updator.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/astrbot_path.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/command_parser.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/dify_api_client.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/io.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/log_pipe.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/metrics.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/path_util.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/pip_installer.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/session_lock.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/session_waiter.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/shared_preferences.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/t2i/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/t2i/local_strategy.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/t2i/network_strategy.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/t2i/renderer.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/t2i/template/astrbot_powershell.html +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/t2i/template/base.html +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/t2i/template_manager.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/tencent_record_helper.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/utils/version_comparator.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/core/zip_updator.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/auth.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/config.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/conversation.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/file.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/knowledge_base.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/log.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/persona.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/plugin.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/route.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/session_management.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/stat.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/static_file.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/t2i.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/tools.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/routes/update.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/server.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/astrbot/dashboard/utils.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.0.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.1.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.10.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.11.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.12.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.13.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.14.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.15.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.16.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.17.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.18.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.19.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.20.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.21.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.22.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.23.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.24.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.25.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.26.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.27.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.28.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.29.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.3.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.30.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.31.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.32.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.33.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.35.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.36.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.37.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.38.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.39.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.4.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.5.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.6.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.7.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.8.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.4.9.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.0.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.1.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.10.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.11.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.12.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.13.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.14.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.15.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.16.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.17.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.18.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.19.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.2.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.20.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.21.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.22.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.23.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.24.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.25.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.26.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.27.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.3.1.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.3.2.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.3.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.4.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.5.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.6.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.7.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.8.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v3.5.9.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.0.0-beta.3.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.0.0-beta.4.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.0.0-beta.5.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.0.0.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.0.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.1.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.2.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.3.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.4.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.5.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.6.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.1.7.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.2.0.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.2.1.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.3.0.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.3.1.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.3.2.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.3.3.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.3.5.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.5.0.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.5.1.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.5.2.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/changelogs/v4.5.3.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/compose.yml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/.gitignore +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/LICENSE +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/README.md +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/env.d.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/index.html +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/public/_redirects +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/public/favicon.svg +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/App.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/astrbot_banner.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/astrbot_logo_mini.webp +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/dingtalk.svg +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/discord.svg +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/kook.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/lark.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/misskey.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/qq.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/satori.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/slack.svg +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/telegram.svg +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/vocechat.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/wechat.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/assets/images/platform_logos/wecom.png +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/ConfirmDialog.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/config/AstrBotCoreConfigWrapper.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/platform/AddNewPlatform.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/provider/AddNewProvider.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/AstrBotConfig.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ConsoleDisplayer.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ExtensionCard.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ItemCard.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ItemCardGrid.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/LanguageSwitcher.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ListConfigItem.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/MigrationDialog.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ObjectEditor.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/PersonaForm.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/PersonaSelector.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/PluginSetSelector.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ProviderSelector.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ProxySelector.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/ReadmeDialog.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/SidebarCustomizer.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/T2ITemplateEditor.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/UninstallConfirmDialog.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/components/shared/WaitingForRestart.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/config.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/composables.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/loader.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/core/actions.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/core/common.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/core/navigation.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/core/status.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/about.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/alkaid/index.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/chart.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/config.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/console.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/conversation.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/dashboard.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/knowledge-base/index.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/migration.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/persona.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/platform.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/provider.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/session-management.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/settings.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/features/tool-use.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/messages/errors.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/messages/success.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/en-US/messages/validation.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/core/actions.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/core/common.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/core/navigation.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/core/status.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/about.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/alkaid/index.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/chart.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/config.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/console.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/conversation.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/dashboard.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/detail.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/document.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/index.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/migration.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/persona.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/platform.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/provider.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/session-management.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/settings.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/features/tool-use.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/messages/errors.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/messages/success.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/locales/zh-CN/messages/validation.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/tools/index.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/translations.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/types.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/i18n/validator.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/layouts/blank/BlankLayout.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/layouts/full/vertical-sidebar/NavItem.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/plugins/confirmPlugin.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/plugins/vuetify.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/router/AuthRoutes.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/router/ChatBoxRoutes.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/router/MainRoutes.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/router/index.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/_override.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/_variables.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VButtons.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VCard.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VField.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VInput.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VNavigationDrawer.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VScrollbar.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VShadow.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VTabs.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/components/_VTextField.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/layout/_sidebar.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/pages/_dashboards.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/scss/style.scss +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/stores/auth.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/stores/common.js +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/stores/customizer.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/stores/toast.js +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/theme/DarkTheme.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/theme/LightTheme.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/types/themeTypes/ThemeType.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/types/vue3-print-nb.d.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/types/vue_tabler_icon.d.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/utils/platformUtils.js +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/utils/sidebarCustomization.js +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/utils/toast.js +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/AboutPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/AlkaidPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ChatBoxPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ConfigPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ConsolePage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ConversationPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/PersonaPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/PlatformPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ProviderPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/SessionManagementPage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/Settings.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/ToolUsePage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/alkaid/KnowledgeBase.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/alkaid/LongTermMemory.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/alkaid/Other.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/DefaultDashboard.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/components/MemoryUsage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/components/MessageStat.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/components/OnlinePlatform.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/components/OnlineTime.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/components/PlatformStat.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/components/RunningTime.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/dashboards/default/components/TotalMessage.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/knowledge-base/DocumentDetail.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/knowledge-base/KBDetail.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/knowledge-base/KBList.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/knowledge-base/components/DocumentsTab.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/knowledge-base/components/RetrievalTab.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/knowledge-base/components/SettingsTab.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/src/views/knowledge-base/index.vue +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/tsconfig.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/tsconfig.vite-config.json +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/dashboard/vite.config.ts +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/main.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/admin.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/alter_cmd.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/conversation.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/help.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/llm.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/persona.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/plugin.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/provider.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/setunset.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/sid.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/t2i.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/tool.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/tts.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/commands/utils/rst_scene.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/long_term_memory.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/metadata.yaml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/astrbot/process_llm_request.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/python_interpreter/main.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/python_interpreter/metadata.yaml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/python_interpreter/requirements.txt +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/python_interpreter/shared/api.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/reminder/main.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/reminder/metadata.yaml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/session_controller/main.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/session_controller/metadata.yaml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/web_searcher/engines/__init__.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/web_searcher/engines/bing.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/web_searcher/engines/sogo.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/web_searcher/main.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/packages/web_searcher/metadata.yaml +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/requirements.txt +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/samples/stt_health_check.wav +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/tests/test_dashboard.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/tests/test_main.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/tests/test_plugin_manager.py +0 -0
- {astrbot-4.5.3 → astrbot-4.5.7}/tests/test_security_fixes.py +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
|
2
2
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
3
3
|
# github actions
|
|
4
|
+
.git
|
|
4
5
|
.github/
|
|
5
6
|
.*ignore
|
|
6
7
|
# User-specific stuff
|
|
@@ -19,4 +20,5 @@ data/
|
|
|
19
20
|
changelogs/
|
|
20
21
|
tests/
|
|
21
22
|
.ruff_cache/
|
|
22
|
-
.astrbot
|
|
23
|
+
.astrbot
|
|
24
|
+
astrbot.lock
|
|
@@ -18,15 +18,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
18
18
|
&& apt-get clean \
|
|
19
19
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
20
20
|
|
|
21
|
-
RUN
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
rm -rf /var/lib/apt/lists/*
|
|
21
|
+
RUN apt-get update && apt-get install -y curl gnupg \
|
|
22
|
+
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
|
|
23
|
+
&& apt-get install -y nodejs
|
|
25
24
|
|
|
26
|
-
RUN python -m pip install
|
|
27
|
-
|
|
25
|
+
RUN python -m pip install uv \
|
|
26
|
+
&& echo "3.11" > .python-version
|
|
27
|
+
RUN uv pip install -r requirements.txt --no-cache-dir --system
|
|
28
|
+
RUN uv pip install socksio uv pilk --no-cache-dir --system
|
|
28
29
|
|
|
29
30
|
EXPOSE 6185
|
|
30
|
-
EXPOSE 6186
|
|
31
31
|
|
|
32
|
-
CMD ["
|
|
32
|
+
CMD ["python", "main.py"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: AstrBot
|
|
3
|
-
Version: 4.5.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 4.5.7
|
|
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
|
|
7
7
|
Requires-Python: >=3.10
|
|
@@ -68,7 +68,7 @@ Description-Content-Type: text/markdown
|
|
|
68
68
|
|
|
69
69
|
<div>
|
|
70
70
|
<a href="https://trendshift.io/repositories/12875" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12875" alt="Soulter%2FAstrBot | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
|
71
|
-
<a href="https://hellogithub.com/repository/AstrBotDevs/AstrBot" target="_blank"><img src="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=d127d50cd5e54c5382328acc3bb25483&claim_uid=ZO9by7qCXgSd6Lp&t=
|
|
71
|
+
<a href="https://hellogithub.com/repository/AstrBotDevs/AstrBot" target="_blank"><img src="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=d127d50cd5e54c5382328acc3bb25483&claim_uid=ZO9by7qCXgSd6Lp&t=2" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
|
72
72
|
</div>
|
|
73
73
|
|
|
74
74
|
<br>
|
|
@@ -179,83 +179,73 @@ uv run main.py
|
|
|
179
179
|
|
|
180
180
|
<a href="https://discord.gg/hAVk6tgV36"><img alt="Discord_community" src="https://img.shields.io/badge/Discord-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
|
|
181
181
|
|
|
182
|
-
##
|
|
182
|
+
## 支持的消息平台
|
|
183
183
|
|
|
184
184
|
**官方维护**
|
|
185
185
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
| Discord | ✔ |
|
|
199
|
-
| Satori | ✔ |
|
|
200
|
-
| Misskey | ✔ |
|
|
201
|
-
| Whatsapp | 将支持 |
|
|
202
|
-
| LINE | 将支持 |
|
|
186
|
+
- QQ (官方平台 & OneBot)
|
|
187
|
+
- Telegram
|
|
188
|
+
- 企微应用 & 企微智能机器人
|
|
189
|
+
- 微信客服 & 微信公众号
|
|
190
|
+
- 飞书
|
|
191
|
+
- 钉钉
|
|
192
|
+
- Slack
|
|
193
|
+
- Discord
|
|
194
|
+
- Satori
|
|
195
|
+
- Misskey
|
|
196
|
+
- Whatsapp (将支持)
|
|
197
|
+
- LINE (将支持)
|
|
203
198
|
|
|
204
199
|
**社区维护**
|
|
205
200
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
| [Bilibili 私信](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) | ✔ |
|
|
211
|
-
| [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) | ✔ |
|
|
201
|
+
- [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter)
|
|
202
|
+
- [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat)
|
|
203
|
+
- [Bilibili 私信](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter)
|
|
204
|
+
- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11)
|
|
212
205
|
|
|
213
|
-
##
|
|
206
|
+
## 支持的模型服务
|
|
214
207
|
|
|
215
208
|
**大模型服务**
|
|
216
209
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
210
|
+
- OpenAI 及兼容服务
|
|
211
|
+
- Anthropic
|
|
212
|
+
- Google Gemini
|
|
213
|
+
- Moonshot AI
|
|
214
|
+
- 智谱 AI
|
|
215
|
+
- DeepSeek
|
|
216
|
+
- Ollama (本地部署)
|
|
217
|
+
- LM Studio (本地部署)
|
|
218
|
+
- [优云智算](https://www.compshare.cn/?ytag=GPU_YY-gh_astrbot&referral_code=FV7DcGowN4hB5UuXKgpE74)
|
|
219
|
+
- [302.AI](https://share.302.ai/rr1M3l)
|
|
220
|
+
- [小马算力](https://www.tokenpony.cn/3YPyf)
|
|
221
|
+
- [硅基流动](https://docs.siliconflow.cn/cn/usercases/use-siliconcloud-in-astrbot)
|
|
222
|
+
- [PPIO 派欧云](https://ppio.com/user/register?invited_by=AIOONE)
|
|
223
|
+
- ModelScope
|
|
224
|
+
- OneAPI
|
|
225
|
+
|
|
226
|
+
**LLMOps 平台**
|
|
227
|
+
|
|
228
|
+
- Dify
|
|
229
|
+
- 阿里云百炼应用
|
|
230
|
+
- Coze
|
|
237
231
|
|
|
238
232
|
**语音转文本服务**
|
|
239
233
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
| Whisper | ✔ | 支持 API、本地部署 |
|
|
243
|
-
| SenseVoice | ✔ | 本地部署 |
|
|
234
|
+
- OpenAI Whisper
|
|
235
|
+
- SenseVoice
|
|
244
236
|
|
|
245
237
|
**文本转语音服务**
|
|
246
238
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
| Minimax TTS | ✔ | |
|
|
258
|
-
| 火山引擎 TTS | ✔ | |
|
|
239
|
+
- OpenAI TTS
|
|
240
|
+
- Gemini TTS
|
|
241
|
+
- GPT-Sovits-Inference
|
|
242
|
+
- GPT-Sovits
|
|
243
|
+
- FishAudio
|
|
244
|
+
- Edge TTS
|
|
245
|
+
- 阿里云百炼 TTS
|
|
246
|
+
- Azure TTS
|
|
247
|
+
- Minimax TTS
|
|
248
|
+
- 火山引擎 TTS
|
|
259
249
|
|
|
260
250
|
## ❤️ 贡献
|
|
261
251
|
|
|
@@ -289,7 +279,7 @@ pre-commit install
|
|
|
289
279
|
|
|
290
280
|
## ⭐ Star History
|
|
291
281
|
|
|
292
|
-
> [!TIP]
|
|
282
|
+
> [!TIP]
|
|
293
283
|
> 如果本项目对您的生活 / 工作产生了帮助,或者您关注本项目的未来发展,请给项目 Star,这是我们维护这个开源项目的动力 <3
|
|
294
284
|
|
|
295
285
|
<div align="center">
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<div>
|
|
10
10
|
<a href="https://trendshift.io/repositories/12875" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12875" alt="Soulter%2FAstrBot | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
|
11
|
-
<a href="https://hellogithub.com/repository/AstrBotDevs/AstrBot" target="_blank"><img src="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=d127d50cd5e54c5382328acc3bb25483&claim_uid=ZO9by7qCXgSd6Lp&t=
|
|
11
|
+
<a href="https://hellogithub.com/repository/AstrBotDevs/AstrBot" target="_blank"><img src="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=d127d50cd5e54c5382328acc3bb25483&claim_uid=ZO9by7qCXgSd6Lp&t=2" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<br>
|
|
@@ -119,83 +119,73 @@ uv run main.py
|
|
|
119
119
|
|
|
120
120
|
<a href="https://discord.gg/hAVk6tgV36"><img alt="Discord_community" src="https://img.shields.io/badge/Discord-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
|
|
121
121
|
|
|
122
|
-
##
|
|
122
|
+
## 支持的消息平台
|
|
123
123
|
|
|
124
124
|
**官方维护**
|
|
125
125
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
| Discord | ✔ |
|
|
139
|
-
| Satori | ✔ |
|
|
140
|
-
| Misskey | ✔ |
|
|
141
|
-
| Whatsapp | 将支持 |
|
|
142
|
-
| LINE | 将支持 |
|
|
126
|
+
- QQ (官方平台 & OneBot)
|
|
127
|
+
- Telegram
|
|
128
|
+
- 企微应用 & 企微智能机器人
|
|
129
|
+
- 微信客服 & 微信公众号
|
|
130
|
+
- 飞书
|
|
131
|
+
- 钉钉
|
|
132
|
+
- Slack
|
|
133
|
+
- Discord
|
|
134
|
+
- Satori
|
|
135
|
+
- Misskey
|
|
136
|
+
- Whatsapp (将支持)
|
|
137
|
+
- LINE (将支持)
|
|
143
138
|
|
|
144
139
|
**社区维护**
|
|
145
140
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
| [Bilibili 私信](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) | ✔ |
|
|
151
|
-
| [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) | ✔ |
|
|
141
|
+
- [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter)
|
|
142
|
+
- [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat)
|
|
143
|
+
- [Bilibili 私信](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter)
|
|
144
|
+
- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11)
|
|
152
145
|
|
|
153
|
-
##
|
|
146
|
+
## 支持的模型服务
|
|
154
147
|
|
|
155
148
|
**大模型服务**
|
|
156
149
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
150
|
+
- OpenAI 及兼容服务
|
|
151
|
+
- Anthropic
|
|
152
|
+
- Google Gemini
|
|
153
|
+
- Moonshot AI
|
|
154
|
+
- 智谱 AI
|
|
155
|
+
- DeepSeek
|
|
156
|
+
- Ollama (本地部署)
|
|
157
|
+
- LM Studio (本地部署)
|
|
158
|
+
- [优云智算](https://www.compshare.cn/?ytag=GPU_YY-gh_astrbot&referral_code=FV7DcGowN4hB5UuXKgpE74)
|
|
159
|
+
- [302.AI](https://share.302.ai/rr1M3l)
|
|
160
|
+
- [小马算力](https://www.tokenpony.cn/3YPyf)
|
|
161
|
+
- [硅基流动](https://docs.siliconflow.cn/cn/usercases/use-siliconcloud-in-astrbot)
|
|
162
|
+
- [PPIO 派欧云](https://ppio.com/user/register?invited_by=AIOONE)
|
|
163
|
+
- ModelScope
|
|
164
|
+
- OneAPI
|
|
165
|
+
|
|
166
|
+
**LLMOps 平台**
|
|
167
|
+
|
|
168
|
+
- Dify
|
|
169
|
+
- 阿里云百炼应用
|
|
170
|
+
- Coze
|
|
177
171
|
|
|
178
172
|
**语音转文本服务**
|
|
179
173
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
| Whisper | ✔ | 支持 API、本地部署 |
|
|
183
|
-
| SenseVoice | ✔ | 本地部署 |
|
|
174
|
+
- OpenAI Whisper
|
|
175
|
+
- SenseVoice
|
|
184
176
|
|
|
185
177
|
**文本转语音服务**
|
|
186
178
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
| Minimax TTS | ✔ | |
|
|
198
|
-
| 火山引擎 TTS | ✔ | |
|
|
179
|
+
- OpenAI TTS
|
|
180
|
+
- Gemini TTS
|
|
181
|
+
- GPT-Sovits-Inference
|
|
182
|
+
- GPT-Sovits
|
|
183
|
+
- FishAudio
|
|
184
|
+
- Edge TTS
|
|
185
|
+
- 阿里云百炼 TTS
|
|
186
|
+
- Azure TTS
|
|
187
|
+
- Minimax TTS
|
|
188
|
+
- 火山引擎 TTS
|
|
199
189
|
|
|
200
190
|
## ❤️ 贡献
|
|
201
191
|
|
|
@@ -229,7 +219,7 @@ pre-commit install
|
|
|
229
219
|
|
|
230
220
|
## ⭐ Star History
|
|
231
221
|
|
|
232
|
-
> [!TIP]
|
|
222
|
+
> [!TIP]
|
|
233
223
|
> 如果本项目对您的生活 / 工作产生了帮助,或者您关注本项目的未来发展,请给项目 Star,这是我们维护这个开源项目的动力 <3
|
|
234
224
|
|
|
235
225
|
<div align="center">
|
|
@@ -36,7 +36,8 @@ from astrbot.core.star.config import *
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
# provider
|
|
39
|
-
from astrbot.core.provider import Provider,
|
|
39
|
+
from astrbot.core.provider import Provider, ProviderMetaData
|
|
40
|
+
from astrbot.core.db.po import Personality
|
|
40
41
|
|
|
41
42
|
# platform
|
|
42
43
|
from astrbot.core.platform import (
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
from dataclasses import dataclass
|
|
2
1
|
from typing import Any, Generic
|
|
3
2
|
|
|
3
|
+
from pydantic import Field
|
|
4
|
+
from pydantic.dataclasses import dataclass
|
|
4
5
|
from typing_extensions import TypeVar
|
|
5
6
|
|
|
7
|
+
from .message import Message
|
|
8
|
+
|
|
6
9
|
TContext = TypeVar("TContext", default=Any)
|
|
7
10
|
|
|
8
11
|
|
|
9
|
-
@dataclass
|
|
12
|
+
@dataclass(config={"arbitrary_types_allowed": True})
|
|
10
13
|
class ContextWrapper(Generic[TContext]):
|
|
11
14
|
"""A context for running an agent, which can be used to pass additional data or state."""
|
|
12
15
|
|
|
13
16
|
context: TContext
|
|
17
|
+
messages: list[Message] = Field(default_factory=list)
|
|
18
|
+
"""This field stores the llm message context for the agent run, agent runners will maintain this field automatically."""
|
|
14
19
|
tool_call_timeout: int = 60 # Default tool call timeout in seconds
|
|
15
20
|
|
|
16
21
|
|
|
@@ -40,6 +40,13 @@ class BaseAgentRunner(T.Generic[TContext]):
|
|
|
40
40
|
"""Process a single step of the agent."""
|
|
41
41
|
...
|
|
42
42
|
|
|
43
|
+
@abc.abstractmethod
|
|
44
|
+
async def step_until_done(
|
|
45
|
+
self, max_step: int
|
|
46
|
+
) -> T.AsyncGenerator[AgentResponse, None]:
|
|
47
|
+
"""Process steps until the agent is done."""
|
|
48
|
+
...
|
|
49
|
+
|
|
43
50
|
@abc.abstractmethod
|
|
44
51
|
def done(self) -> bool:
|
|
45
52
|
"""Check if the agent has completed its task.
|
|
@@ -23,7 +23,7 @@ from astrbot.core.provider.entities import (
|
|
|
23
23
|
from astrbot.core.provider.provider import Provider
|
|
24
24
|
|
|
25
25
|
from ..hooks import BaseAgentRunHooks
|
|
26
|
-
from ..message import AssistantMessageSegment, ToolCallMessageSegment
|
|
26
|
+
from ..message import AssistantMessageSegment, Message, ToolCallMessageSegment
|
|
27
27
|
from ..response import AgentResponseData
|
|
28
28
|
from ..run_context import ContextWrapper, TContext
|
|
29
29
|
from ..tool_executor import BaseFunctionToolExecutor
|
|
@@ -55,6 +55,20 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
55
55
|
self.agent_hooks = agent_hooks
|
|
56
56
|
self.run_context = run_context
|
|
57
57
|
|
|
58
|
+
messages = []
|
|
59
|
+
# append existing messages in the run context
|
|
60
|
+
for msg in request.contexts:
|
|
61
|
+
messages.append(Message.model_validate(msg))
|
|
62
|
+
if request.prompt is not None:
|
|
63
|
+
m = await request.assemble_context()
|
|
64
|
+
messages.append(Message.model_validate(m))
|
|
65
|
+
if request.system_prompt:
|
|
66
|
+
messages.insert(
|
|
67
|
+
0,
|
|
68
|
+
Message(role="system", content=request.system_prompt),
|
|
69
|
+
)
|
|
70
|
+
self.run_context.messages = messages
|
|
71
|
+
|
|
58
72
|
def _transition_state(self, new_state: AgentState) -> None:
|
|
59
73
|
"""转换 Agent 状态"""
|
|
60
74
|
if self._state != new_state:
|
|
@@ -96,13 +110,22 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
96
110
|
type="streaming_delta",
|
|
97
111
|
data=AgentResponseData(chain=llm_response.result_chain),
|
|
98
112
|
)
|
|
99
|
-
|
|
113
|
+
elif llm_response.completion_text:
|
|
100
114
|
yield AgentResponse(
|
|
101
115
|
type="streaming_delta",
|
|
102
116
|
data=AgentResponseData(
|
|
103
117
|
chain=MessageChain().message(llm_response.completion_text),
|
|
104
118
|
),
|
|
105
119
|
)
|
|
120
|
+
elif llm_response.reasoning_content:
|
|
121
|
+
yield AgentResponse(
|
|
122
|
+
type="streaming_delta",
|
|
123
|
+
data=AgentResponseData(
|
|
124
|
+
chain=MessageChain(type="reasoning").message(
|
|
125
|
+
llm_response.reasoning_content,
|
|
126
|
+
),
|
|
127
|
+
),
|
|
128
|
+
)
|
|
106
129
|
continue
|
|
107
130
|
llm_resp_result = llm_response
|
|
108
131
|
break # got final response
|
|
@@ -130,6 +153,13 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
130
153
|
# 如果没有工具调用,转换到完成状态
|
|
131
154
|
self.final_llm_resp = llm_resp
|
|
132
155
|
self._transition_state(AgentState.DONE)
|
|
156
|
+
# record the final assistant message
|
|
157
|
+
self.run_context.messages.append(
|
|
158
|
+
Message(
|
|
159
|
+
role="assistant",
|
|
160
|
+
content=llm_resp.completion_text or "",
|
|
161
|
+
),
|
|
162
|
+
)
|
|
133
163
|
try:
|
|
134
164
|
await self.agent_hooks.on_agent_done(self.run_context, llm_resp)
|
|
135
165
|
except Exception as e:
|
|
@@ -156,13 +186,16 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
156
186
|
yield AgentResponse(
|
|
157
187
|
type="tool_call",
|
|
158
188
|
data=AgentResponseData(
|
|
159
|
-
chain=MessageChain().message(
|
|
189
|
+
chain=MessageChain(type="tool_call").message(
|
|
190
|
+
f"🔨 调用工具: {tool_call_name}"
|
|
191
|
+
),
|
|
160
192
|
),
|
|
161
193
|
)
|
|
162
194
|
async for result in self._handle_function_tools(self.req, llm_resp):
|
|
163
195
|
if isinstance(result, list):
|
|
164
196
|
tool_call_result_blocks = result
|
|
165
197
|
elif isinstance(result, MessageChain):
|
|
198
|
+
result.type = "tool_call_result"
|
|
166
199
|
yield AgentResponse(
|
|
167
200
|
type="tool_call_result",
|
|
168
201
|
data=AgentResponseData(chain=result),
|
|
@@ -175,8 +208,23 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
175
208
|
),
|
|
176
209
|
tool_calls_result=tool_call_result_blocks,
|
|
177
210
|
)
|
|
211
|
+
# record the assistant message with tool calls
|
|
212
|
+
self.run_context.messages.extend(
|
|
213
|
+
tool_calls_result.to_openai_messages_model()
|
|
214
|
+
)
|
|
215
|
+
|
|
178
216
|
self.req.append_tool_calls_result(tool_calls_result)
|
|
179
217
|
|
|
218
|
+
async def step_until_done(
|
|
219
|
+
self, max_step: int
|
|
220
|
+
) -> T.AsyncGenerator[AgentResponse, None]:
|
|
221
|
+
"""Process steps until the agent is done."""
|
|
222
|
+
step_count = 0
|
|
223
|
+
while not self.done() and step_count < max_step:
|
|
224
|
+
step_count += 1
|
|
225
|
+
async for resp in self.step():
|
|
226
|
+
yield resp
|
|
227
|
+
|
|
180
228
|
async def _handle_function_tools(
|
|
181
229
|
self,
|
|
182
230
|
req: ProviderRequest,
|
|
@@ -4,12 +4,13 @@ from typing import Any, Generic
|
|
|
4
4
|
import jsonschema
|
|
5
5
|
import mcp
|
|
6
6
|
from deprecated import deprecated
|
|
7
|
-
from pydantic import model_validator
|
|
7
|
+
from pydantic import Field, model_validator
|
|
8
8
|
from pydantic.dataclasses import dataclass
|
|
9
9
|
|
|
10
10
|
from .run_context import ContextWrapper, TContext
|
|
11
11
|
|
|
12
12
|
ParametersType = dict[str, Any]
|
|
13
|
+
ToolExecResult = str | mcp.types.CallToolResult
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
@dataclass
|
|
@@ -55,15 +56,14 @@ class FunctionTool(ToolSchema, Generic[TContext]):
|
|
|
55
56
|
def __repr__(self):
|
|
56
57
|
return f"FuncTool(name={self.name}, parameters={self.parameters}, description={self.description})"
|
|
57
58
|
|
|
58
|
-
async def call(
|
|
59
|
-
self, context: ContextWrapper[TContext], **kwargs
|
|
60
|
-
) -> str | mcp.types.CallToolResult:
|
|
59
|
+
async def call(self, context: ContextWrapper[TContext], **kwargs) -> ToolExecResult:
|
|
61
60
|
"""Run the tool with the given arguments. The handler field has priority."""
|
|
62
61
|
raise NotImplementedError(
|
|
63
62
|
"FunctionTool.call() must be implemented by subclasses or set a handler."
|
|
64
63
|
)
|
|
65
64
|
|
|
66
65
|
|
|
66
|
+
@dataclass
|
|
67
67
|
class ToolSet:
|
|
68
68
|
"""A set of function tools that can be used in function calling.
|
|
69
69
|
|
|
@@ -71,8 +71,7 @@ class ToolSet:
|
|
|
71
71
|
convert the tools to different API formats (OpenAI, Anthropic, Google GenAI).
|
|
72
72
|
"""
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
self.tools: list[FunctionTool] = tools or []
|
|
74
|
+
tools: list[FunctionTool] = Field(default_factory=list)
|
|
76
75
|
|
|
77
76
|
def empty(self) -> bool:
|
|
78
77
|
"""Check if the tool set is empty."""
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from pydantic import Field
|
|
2
|
+
from pydantic.dataclasses import dataclass
|
|
3
|
+
|
|
4
|
+
from astrbot.core.agent.run_context import ContextWrapper
|
|
5
|
+
from astrbot.core.platform.astr_message_event import AstrMessageEvent
|
|
6
|
+
from astrbot.core.star.context import Context
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@dataclass(config={"arbitrary_types_allowed": True})
|
|
10
|
+
class AstrAgentContext:
|
|
11
|
+
context: Context
|
|
12
|
+
"""The star context instance"""
|
|
13
|
+
event: AstrMessageEvent
|
|
14
|
+
"""The message event associated with the agent context."""
|
|
15
|
+
extra: dict[str, str] = Field(default_factory=dict)
|
|
16
|
+
"""Customized extra data."""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
AgentContextWrapper = ContextWrapper[AstrAgentContext]
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
|
|
3
|
+
from mcp.types import CallToolResult
|
|
4
|
+
|
|
5
|
+
from astrbot.core.agent.hooks import BaseAgentRunHooks
|
|
6
|
+
from astrbot.core.agent.run_context import ContextWrapper
|
|
7
|
+
from astrbot.core.agent.tool import FunctionTool
|
|
8
|
+
from astrbot.core.astr_agent_context import AstrAgentContext
|
|
9
|
+
from astrbot.core.pipeline.context_utils import call_event_hook
|
|
10
|
+
from astrbot.core.star.star_handler import EventType
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class MainAgentHooks(BaseAgentRunHooks[AstrAgentContext]):
|
|
14
|
+
async def on_agent_done(self, run_context, llm_response):
|
|
15
|
+
# 执行事件钩子
|
|
16
|
+
await call_event_hook(
|
|
17
|
+
run_context.context.event,
|
|
18
|
+
EventType.OnLLMResponseEvent,
|
|
19
|
+
llm_response,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
async def on_tool_end(
|
|
23
|
+
self,
|
|
24
|
+
run_context: ContextWrapper[AstrAgentContext],
|
|
25
|
+
tool: FunctionTool[Any],
|
|
26
|
+
tool_args: dict | None,
|
|
27
|
+
tool_result: CallToolResult | None,
|
|
28
|
+
):
|
|
29
|
+
run_context.context.event.clear_result()
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class EmptyAgentHooks(BaseAgentRunHooks[AstrAgentContext]):
|
|
33
|
+
pass
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
MAIN_AGENT_HOOKS = MainAgentHooks()
|