AstrBot 4.10.0__tar.gz → 4.10.0a1__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.10.0 → astrbot-4.10.0a1}/PKG-INFO +1 -1
- astrbot-4.10.0a1/astrbot/cli/__init__.py +1 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/tool_loop_agent_runner.py +21 -61
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/astr_agent_run_util.py +1 -19
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/astr_agent_tool_exec.py +4 -34
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/config/default.py +1 -1
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/process_stage/method/agent_sub_stages/internal.py +1 -6
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/gemini_source.py +3 -19
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/chat.py +1 -1
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/Chat.vue +1 -1
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/ChatInput.vue +2 -12
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/ConversationSidebar.vue +1 -2
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/ProviderModelMenu.vue +2 -14
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/provider/ProviderSourcesPanel.vue +0 -7
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/composables/useMessages.ts +2 -6
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/composables/useSessions.ts +1 -11
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/provider.json +1 -1
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/provider.json +1 -1
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/layouts/full/FullLayout.vue +0 -12
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/router/index.ts +0 -11
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/ConversationPage.vue +7 -63
- {astrbot-4.10.0 → astrbot-4.10.0a1}/pyproject.toml +1 -1
- astrbot-4.10.0/astrbot/cli/__init__.py +0 -1
- astrbot-4.10.0/changelogs/v4.10.0-alpha.2.md +0 -44
- astrbot-4.10.0/changelogs/v4.10.0.md +0 -40
- astrbot-4.10.0/dashboard/src/stores/routerLoading.ts +0 -60
- astrbot-4.10.0/tests/test_tool_loop_agent_runner.py +0 -326
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.dockerignore +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/FUNDING.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/auto_assign.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/copilot-instructions.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/dependabot.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/auto_release.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/code-format.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/codeql.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/coverage_test.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/dashboard_ci.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/docker-image.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/smoke_test.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.github/workflows/stale.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.gitignore +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.pre-commit-config.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/.python-version +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/CODE_OF_CONDUCT.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/CONTRIBUTING.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/Dockerfile +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/LICENSE +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/README.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/README_en.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/README_fr.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/README_ja.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/README_ru.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/README_zh-TW.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/all.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/event/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/event/filter/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/message_components.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/platform/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/provider/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/star/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/api/util/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/__main__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/commands/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/commands/cmd_conf.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/commands/cmd_init.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/commands/cmd_plug.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/commands/cmd_run.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/utils/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/utils/basic.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/utils/plugin.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/cli/utils/version_comparator.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/agent.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/handoff.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/hooks.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/mcp_client.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/message.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/response.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/run_context.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/base.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/coze/coze_agent_runner.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/coze/coze_api_client.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/dashscope/dashscope_agent_runner.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/dify/dify_agent_runner.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/runners/dify/dify_api_client.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/tool.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/agent/tool_executor.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/astr_agent_context.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/astr_agent_hooks.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/astrbot_config_mgr.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/config/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/config/astrbot_config.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/config/i18n_utils.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/conversation_mgr.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/core_lifecycle.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/migration/helper.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/migration/migra_3_to_4.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/migration/migra_45_to_46.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/migration/migra_webchat_session.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/migration/shared_preferences_v3.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/migration/sqlite_v3.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/po.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/sqlite.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/vec_db/base.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/vec_db/faiss_impl/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/vec_db/faiss_impl/document_storage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/vec_db/faiss_impl/embedding_storage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/vec_db/faiss_impl/sqlite_init.sql +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/db/vec_db/faiss_impl/vec_db.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/event_bus.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/exceptions.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/file_token_service.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/initial_loader.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/chunking/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/chunking/base.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/chunking/fixed_size.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/chunking/recursive.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/kb_db_sqlite.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/kb_helper.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/kb_mgr.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/models.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/parsers/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/parsers/base.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/parsers/markitdown_parser.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/parsers/pdf_parser.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/parsers/text_parser.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/parsers/url_parser.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/parsers/util.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/prompts.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/retrieval/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/retrieval/hit_stopwords.txt +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/retrieval/manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/retrieval/rank_fusion.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/knowledge_base/retrieval/sparse_retriever.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/log.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/message/components.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/message/message_event_result.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/persona_mgr.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/content_safety_check/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/content_safety_check/strategies/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/content_safety_check/strategies/baidu_aip.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/content_safety_check/strategies/keywords.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/content_safety_check/strategies/strategy.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/context.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/context_utils.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/preprocess_stage/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/process_stage/method/agent_request.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/process_stage/method/agent_sub_stages/third_party.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/process_stage/method/star_request.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/process_stage/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/process_stage/utils.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/rate_limit_check/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/respond/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/result_decorate/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/scheduler.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/session_status_check/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/waking_check/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/pipeline/whitelist_check/stage.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/astr_message_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/astrbot_message.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/message_session.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/message_type.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/platform.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/platform_metadata.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/register.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/dingtalk/dingtalk_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/discord/client.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/discord/components.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/discord/discord_platform_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/discord/discord_platform_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/lark/lark_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/lark/lark_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/lark/server.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/misskey/misskey_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/misskey/misskey_api.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/misskey/misskey_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/misskey/misskey_utils.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/qqofficial/qqofficial_platform_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/satori/satori_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/satori/satori_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/slack/client.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/slack/slack_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/slack/slack_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/telegram/tg_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/telegram/tg_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/webchat/webchat_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/webchat/webchat_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/webchat/webchat_queue_mgr.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_message_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wechatpadpro/xml_data_parser.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom/wecom_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom/wecom_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom/wecom_kf.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom/wecom_kf_message.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/WXBizJsonMsgCrypt.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/ierror.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_api.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_queue_mgr.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_server.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_utils.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_event.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/platform_message_history_mgr.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/entites.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/entities.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/func_tool_manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/provider.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/register.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/anthropic_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/azure_tts_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/bailian_rerank_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/dashscope_tts.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/edge_tts_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/fishaudio_tts_api_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/gemini_embedding_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/gemini_tts_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/groq_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/gsv_selfhosted_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/gsvi_tts_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/minimax_tts_api_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/openai_embedding_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/openai_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/openai_tts_api_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/sensevoice_selfhosted_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/vllm_rerank_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/volcengine_tts.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/whisper_api_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/whisper_selfhosted_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/xinference_rerank_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/xinference_stt_provider.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/provider/sources/zhipu_source.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/README.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/command_management.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/config.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/context.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/command.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/command_group.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/custom_filter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/event_message_type.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/permission.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/platform_adapter_type.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/filter/regex.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/register/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/register/star.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/register/star_handler.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/session_llm_manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/session_plugin_manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/star.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/star_handler.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/star_manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/star_tools.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/star/updator.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/umop_config_router.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/updator.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/astrbot_path.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/command_parser.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/file_extract.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/io.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/llm_metadata.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/log_pipe.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/metrics.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/migra_helper.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/path_util.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/pip_installer.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/plugin_kv_store.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/session_lock.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/session_waiter.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/shared_preferences.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/t2i/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/t2i/local_strategy.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/t2i/network_strategy.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/t2i/renderer.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/t2i/template/astrbot_powershell.html +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/t2i/template/base.html +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/t2i/template_manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/tencent_record_helper.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/version_comparator.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/utils/webhook_utils.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/core/zip_updator.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/auth.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/command.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/config.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/conversation.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/file.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/knowledge_base.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/log.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/persona.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/platform.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/plugin.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/route.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/session_management.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/stat.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/static_file.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/t2i.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/tools.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/routes/update.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/server.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/astrbot/dashboard/utils.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.10.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.11.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.12.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.13.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.14.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.15.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.16.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.17.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.18.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.19.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.20.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.21.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.22.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.23.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.24.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.25.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.26.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.27.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.28.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.29.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.3.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.30.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.31.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.32.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.33.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.35.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.36.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.37.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.38.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.39.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.4.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.5.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.6.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.7.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.8.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.4.9.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.10.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.11.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.12.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.13.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.14.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.15.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.16.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.17.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.18.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.19.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.2.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.20.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.21.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.22.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.23.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.24.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.25.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.26.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.27.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.3.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.3.2.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.3.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.4.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.5.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.6.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.7.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.8.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v3.5.9.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.0.0-beta.3.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.0.0-beta.4.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.0.0-beta.5.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.0.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.2.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.3.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.4.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.5.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.6.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.1.7.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.10.0-alpha.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.2.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.2.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.3.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.3.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.3.2.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.3.3.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.3.5.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.2.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.3.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.4.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.5.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.6.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.7.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.5.8.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.6.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.6.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.7.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.7.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.7.3.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.7.4.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.8.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.9.0.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.9.1.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/changelogs/v4.9.2.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/compose.yml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/.gitignore +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/LICENSE +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/README.md +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/env.d.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/index.html +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/public/_redirects +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/public/favicon.svg +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/App.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/astrbot_banner.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/astrbot_logo_mini.webp +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/icon-no-shadow.svg +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/loading-seio.webp +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/dingtalk.svg +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/discord.svg +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/kook.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/lark.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/misskey.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/onebot.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/qq.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/satori.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/slack.svg +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/telegram.svg +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/vocechat.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/wechat.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/platform_logos/wecom.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/plugin_icon.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/provider_logos/modelstack.svg +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/assets/images/xmas-hat.png +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/ConfirmDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/ConfigSelector.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/MessageList.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/ProviderConfigDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/chat/StandaloneChat.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/config/AstrBotCoreConfigWrapper.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/McpServersSection.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/components/CommandFilters.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/components/CommandTable.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/components/DetailsDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/components/RenameDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/components/ToolTable.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/composables/useCommandActions.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/composables/useCommandFilters.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/composables/useComponentData.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/index.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/extension/componentPanel/types.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/platform/AddNewPlatform.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/provider/AddNewProvider.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/provider/ProviderModelsPanel.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/AstrBotConfig.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/AstrBotConfigV4.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ChangelogDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ConsoleDisplayer.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ExtensionCard.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ItemCard.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ItemCardGrid.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/KnowledgeBaseSelector.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/LanguageSwitcher.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ListConfigItem.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/Logo.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/MigrationDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ObjectEditor.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/PersonaForm.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/PersonaSelector.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/PluginSetSelector.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ProviderSelector.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ProxySelector.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/ReadmeDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/SidebarCustomizer.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/StyledMenu.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/T2ITemplateEditor.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/UninstallConfirmDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/components/shared/WaitingForRestart.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/composables/useConversations.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/composables/useMediaHandling.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/composables/useProviderSources.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/composables/useRecording.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/config.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/composables.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/loader.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/core/actions.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/core/common.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/core/header.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/core/navigation.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/core/shared.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/core/status.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/about.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/alkaid/index.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/auth.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/chart.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/chat.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/command.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/config-metadata.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/config.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/console.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/conversation.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/dashboard.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/extension.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/knowledge-base/index.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/migration.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/persona.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/platform.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/session-management.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/settings.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/features/tool-use.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/messages/errors.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/messages/success.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/en-US/messages/validation.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/core/actions.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/core/common.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/core/header.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/core/navigation.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/core/shared.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/core/status.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/about.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/alkaid/index.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/auth.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/chart.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/chat.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/command.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/config.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/console.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/conversation.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/dashboard.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/extension.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/detail.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/document.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/index.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/migration.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/persona.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/platform.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/session-management.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/settings.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/features/tool-use.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/messages/errors.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/messages/success.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/locales/zh-CN/messages/validation.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/tools/index.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/translations.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/types.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/i18n/validator.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/layouts/blank/BlankLayout.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/layouts/full/vertical-sidebar/NavItem.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/main.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/plugins/confirmPlugin.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/plugins/vuetify.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/router/AuthRoutes.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/router/ChatBoxRoutes.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/router/MainRoutes.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/_override.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/_variables.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VButtons.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VCard.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VField.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VInput.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VNavigationDrawer.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VScrollbar.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VShadow.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VTabs.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/components/_VTextField.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/layout/_container.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/layout/_sidebar.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/pages/_dashboards.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/scss/style.scss +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/stores/auth.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/stores/common.js +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/stores/customizer.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/stores/toast.js +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/theme/DarkTheme.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/theme/LightTheme.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/types/themeTypes/ThemeType.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/types/vue3-print-nb.d.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/types/vue_tabler_icon.d.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/utils/platformUtils.js +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/utils/providerUtils.js +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/utils/sidebarCustomization.js +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/utils/toast.js +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/AboutPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/AlkaidPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/ChatBoxPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/ChatPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/ConfigPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/ConsolePage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/ExtensionPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/PersonaPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/PlatformPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/ProviderPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/SessionManagementPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/Settings.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/alkaid/KnowledgeBase.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/alkaid/LongTermMemory.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/alkaid/Other.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/authentication/auth/LoginPage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/authentication/authForms/AuthLogin.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/DefaultDashboard.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/components/MemoryUsage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/components/MessageStat.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/components/OnlinePlatform.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/components/OnlineTime.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/components/PlatformStat.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/components/RunningTime.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/dashboards/default/components/TotalMessage.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/DocumentDetail.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/KBDetail.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/KBList.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/components/DocumentsTab.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/components/RetrievalTab.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/components/SettingsTab.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/components/TavilyKeyDialog.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/src/views/knowledge-base/index.vue +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/tsconfig.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/tsconfig.vite-config.json +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/dashboard/vite.config.ts +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot/00-namespace.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot/01-pvc.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot/02-deployment.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot/03-service-nodeport.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot/04-service-loadbalancer.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot_with_napcat/00-namespace.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot_with_napcat/01-pvc.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot_with_napcat/02-deployment.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot_with_napcat/03-service-nodeport.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/k8s/astrbot_with_napcat/04-service-loadbalancer.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/astrbot/long_term_memory.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/astrbot/main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/astrbot/metadata.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/astrbot/process_llm_request.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/admin.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/alter_cmd.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/conversation.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/help.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/llm.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/persona.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/plugin.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/provider.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/setunset.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/sid.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/t2i.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/tool.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/tts.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/commands/utils/rst_scene.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/builtin_commands/metadata.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/python_interpreter/main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/python_interpreter/metadata.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/python_interpreter/requirements.txt +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/python_interpreter/shared/api.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/reminder/main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/reminder/metadata.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/session_controller/main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/session_controller/metadata.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/web_searcher/engines/__init__.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/web_searcher/engines/bing.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/web_searcher/engines/sogo.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/web_searcher/main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/packages/web_searcher/metadata.yaml +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/requirements.txt +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/samples/stt_health_check.wav +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/tests/test_dashboard.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/tests/test_kb_import.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/tests/test_main.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/tests/test_plugin_manager.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/tests/test_security_fixes.py +0 -0
- {astrbot-4.10.0 → astrbot-4.10.0a1}/typings/faiss/__init__.pyi +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "4.10.0-alpha.1"
|
|
@@ -76,19 +76,12 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
76
76
|
|
|
77
77
|
async def _iter_llm_responses(self) -> T.AsyncGenerator[LLMResponse, None]:
|
|
78
78
|
"""Yields chunks *and* a final LLMResponse."""
|
|
79
|
-
payload = {
|
|
80
|
-
"contexts": self.run_context.messages,
|
|
81
|
-
"func_tool": self.req.func_tool,
|
|
82
|
-
"model": self.req.model, # NOTE: in fact, this arg is None in most cases
|
|
83
|
-
"session_id": self.req.session_id,
|
|
84
|
-
}
|
|
85
|
-
|
|
86
79
|
if self.streaming:
|
|
87
|
-
stream = self.provider.text_chat_stream(**
|
|
80
|
+
stream = self.provider.text_chat_stream(**self.req.__dict__)
|
|
88
81
|
async for resp in stream: # type: ignore
|
|
89
82
|
yield resp
|
|
90
83
|
else:
|
|
91
|
-
yield await self.provider.text_chat(**
|
|
84
|
+
yield await self.provider.text_chat(**self.req.__dict__)
|
|
92
85
|
|
|
93
86
|
@override
|
|
94
87
|
async def step(self):
|
|
@@ -172,7 +165,7 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
172
165
|
self.run_context.messages.append(
|
|
173
166
|
Message(
|
|
174
167
|
role="assistant",
|
|
175
|
-
content=llm_resp.completion_text or "
|
|
168
|
+
content=llm_resp.completion_text or "",
|
|
176
169
|
),
|
|
177
170
|
)
|
|
178
171
|
try:
|
|
@@ -237,25 +230,6 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
237
230
|
async for resp in self.step():
|
|
238
231
|
yield resp
|
|
239
232
|
|
|
240
|
-
# 如果循环结束了但是 agent 还没有完成,说明是达到了 max_step
|
|
241
|
-
if not self.done():
|
|
242
|
-
logger.warning(
|
|
243
|
-
f"Agent reached max steps ({max_step}), forcing a final response."
|
|
244
|
-
)
|
|
245
|
-
# 拔掉所有工具
|
|
246
|
-
if self.req:
|
|
247
|
-
self.req.func_tool = None
|
|
248
|
-
# 注入提示词
|
|
249
|
-
self.run_context.messages.append(
|
|
250
|
-
Message(
|
|
251
|
-
role="user",
|
|
252
|
-
content="工具调用次数已达到上限,请停止使用工具,并根据已经收集到的信息,对你的任务和发现进行总结,然后直接回复用户。",
|
|
253
|
-
)
|
|
254
|
-
)
|
|
255
|
-
# 再执行最后一步
|
|
256
|
-
async for resp in self.step():
|
|
257
|
-
yield resp
|
|
258
|
-
|
|
259
233
|
async def _handle_function_tools(
|
|
260
234
|
self,
|
|
261
235
|
req: ProviderRequest,
|
|
@@ -402,33 +376,35 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
402
376
|
),
|
|
403
377
|
)
|
|
404
378
|
|
|
379
|
+
# yield the last tool call result
|
|
380
|
+
if tool_call_result_blocks:
|
|
381
|
+
last_tcr_content = str(tool_call_result_blocks[-1].content)
|
|
382
|
+
yield MessageChain(
|
|
383
|
+
type="tool_call_result",
|
|
384
|
+
chain=[
|
|
385
|
+
Json(
|
|
386
|
+
data={
|
|
387
|
+
"id": func_tool_id,
|
|
388
|
+
"ts": time.time(),
|
|
389
|
+
"result": last_tcr_content,
|
|
390
|
+
}
|
|
391
|
+
)
|
|
392
|
+
],
|
|
393
|
+
)
|
|
394
|
+
|
|
405
395
|
elif resp is None:
|
|
406
396
|
# Tool 直接请求发送消息给用户
|
|
407
397
|
# 这里我们将直接结束 Agent Loop。
|
|
408
398
|
# 发送消息逻辑在 ToolExecutor 中处理了。
|
|
409
399
|
logger.warning(
|
|
410
|
-
f"{func_tool_name}
|
|
400
|
+
f"{func_tool_name} 没有没有返回值或者将结果直接发送给用户,此工具调用不会被记录到历史中。"
|
|
411
401
|
)
|
|
412
402
|
self._transition_state(AgentState.DONE)
|
|
413
403
|
self.stats.end_time = time.time()
|
|
414
|
-
tool_call_result_blocks.append(
|
|
415
|
-
ToolCallMessageSegment(
|
|
416
|
-
role="tool",
|
|
417
|
-
tool_call_id=func_tool_id,
|
|
418
|
-
content="*工具没有返回值或者将结果直接发送给了用户*",
|
|
419
|
-
),
|
|
420
|
-
)
|
|
421
404
|
else:
|
|
422
405
|
# 不应该出现其他类型
|
|
423
406
|
logger.warning(
|
|
424
|
-
f"Tool 返回了不支持的类型: {type(resp)}
|
|
425
|
-
)
|
|
426
|
-
tool_call_result_blocks.append(
|
|
427
|
-
ToolCallMessageSegment(
|
|
428
|
-
role="tool",
|
|
429
|
-
tool_call_id=func_tool_id,
|
|
430
|
-
content="*工具返回了不支持的类型,请告诉用户检查这个工具的定义和实现。*",
|
|
431
|
-
),
|
|
407
|
+
f"Tool 返回了不支持的类型: {type(resp)},将忽略。",
|
|
432
408
|
)
|
|
433
409
|
|
|
434
410
|
try:
|
|
@@ -450,22 +426,6 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
|
|
450
426
|
),
|
|
451
427
|
)
|
|
452
428
|
|
|
453
|
-
# yield the last tool call result
|
|
454
|
-
if tool_call_result_blocks:
|
|
455
|
-
last_tcr_content = str(tool_call_result_blocks[-1].content)
|
|
456
|
-
yield MessageChain(
|
|
457
|
-
type="tool_call_result",
|
|
458
|
-
chain=[
|
|
459
|
-
Json(
|
|
460
|
-
data={
|
|
461
|
-
"id": func_tool_id,
|
|
462
|
-
"ts": time.time(),
|
|
463
|
-
"result": last_tcr_content,
|
|
464
|
-
}
|
|
465
|
-
)
|
|
466
|
-
],
|
|
467
|
-
)
|
|
468
|
-
|
|
469
429
|
# 处理函数调用响应
|
|
470
430
|
if tool_call_result_blocks:
|
|
471
431
|
yield tool_call_result_blocks
|
|
@@ -2,7 +2,6 @@ import traceback
|
|
|
2
2
|
from collections.abc import AsyncGenerator
|
|
3
3
|
|
|
4
4
|
from astrbot.core import logger
|
|
5
|
-
from astrbot.core.agent.message import Message
|
|
6
5
|
from astrbot.core.agent.runners.tool_loop_agent_runner import ToolLoopAgentRunner
|
|
7
6
|
from astrbot.core.astr_agent_context import AstrAgentContext
|
|
8
7
|
from astrbot.core.message.components import Json
|
|
@@ -25,25 +24,8 @@ async def run_agent(
|
|
|
25
24
|
) -> AsyncGenerator[MessageChain | None, None]:
|
|
26
25
|
step_idx = 0
|
|
27
26
|
astr_event = agent_runner.run_context.context.event
|
|
28
|
-
while step_idx < max_step
|
|
27
|
+
while step_idx < max_step:
|
|
29
28
|
step_idx += 1
|
|
30
|
-
|
|
31
|
-
if step_idx == max_step + 1:
|
|
32
|
-
logger.warning(
|
|
33
|
-
f"Agent reached max steps ({max_step}), forcing a final response."
|
|
34
|
-
)
|
|
35
|
-
if not agent_runner.done():
|
|
36
|
-
# 拔掉所有工具
|
|
37
|
-
if agent_runner.req:
|
|
38
|
-
agent_runner.req.func_tool = None
|
|
39
|
-
# 注入提示词
|
|
40
|
-
agent_runner.run_context.messages.append(
|
|
41
|
-
Message(
|
|
42
|
-
role="user",
|
|
43
|
-
content="工具调用次数已达到上限,请停止使用工具,并根据已经收集到的信息,对你的任务和发现进行总结,然后直接回复用户。",
|
|
44
|
-
)
|
|
45
|
-
)
|
|
46
|
-
|
|
47
29
|
try:
|
|
48
30
|
async for resp in agent_runner.step():
|
|
49
31
|
if astr_event.is_stopped():
|
|
@@ -209,42 +209,12 @@ async def call_local_llm_tool(
|
|
|
209
209
|
else:
|
|
210
210
|
raise ValueError(f"未知的方法名: {method_name}")
|
|
211
211
|
except ValueError as e:
|
|
212
|
-
|
|
213
|
-
except TypeError
|
|
214
|
-
|
|
215
|
-
try:
|
|
216
|
-
sig = inspect.signature(handler)
|
|
217
|
-
params = list(sig.parameters.values())
|
|
218
|
-
# 跳过第一个参数(event 或 context)
|
|
219
|
-
if params:
|
|
220
|
-
params = params[1:]
|
|
221
|
-
|
|
222
|
-
param_strs = []
|
|
223
|
-
for param in params:
|
|
224
|
-
param_str = param.name
|
|
225
|
-
if param.annotation != inspect.Parameter.empty:
|
|
226
|
-
# 获取类型注解的字符串表示
|
|
227
|
-
if isinstance(param.annotation, type):
|
|
228
|
-
type_str = param.annotation.__name__
|
|
229
|
-
else:
|
|
230
|
-
type_str = str(param.annotation)
|
|
231
|
-
param_str += f": {type_str}"
|
|
232
|
-
if param.default != inspect.Parameter.empty:
|
|
233
|
-
param_str += f" = {param.default!r}"
|
|
234
|
-
param_strs.append(param_str)
|
|
235
|
-
|
|
236
|
-
handler_param_str = (
|
|
237
|
-
", ".join(param_strs) if param_strs else "(no additional parameters)"
|
|
238
|
-
)
|
|
239
|
-
except Exception:
|
|
240
|
-
handler_param_str = "(unable to inspect signature)"
|
|
241
|
-
|
|
242
|
-
raise Exception(
|
|
243
|
-
f"Tool handler parameter mismatch, please check the handler definition. Handler parameters: {handler_param_str}"
|
|
244
|
-
) from e
|
|
212
|
+
logger.error(f"调用本地 LLM 工具时出错: {e}", exc_info=True)
|
|
213
|
+
except TypeError:
|
|
214
|
+
logger.error("处理函数参数不匹配,请检查 handler 的定义。", exc_info=True)
|
|
245
215
|
except Exception as e:
|
|
246
216
|
trace_ = traceback.format_exc()
|
|
247
|
-
|
|
217
|
+
logger.error(f"调用本地 LLM 工具时出错: {e}\n{trace_}")
|
|
248
218
|
|
|
249
219
|
if not ready_to_call:
|
|
250
220
|
return
|
|
@@ -321,12 +321,7 @@ class InternalAgentSubStage(Stage):
|
|
|
321
321
|
elif isinstance(req.tool_calls_result, list):
|
|
322
322
|
for tcr in req.tool_calls_result:
|
|
323
323
|
messages.extend(tcr.to_openai_messages())
|
|
324
|
-
messages.append(
|
|
325
|
-
{
|
|
326
|
-
"role": "assistant",
|
|
327
|
-
"content": llm_response.completion_text or "*No response*",
|
|
328
|
-
}
|
|
329
|
-
)
|
|
324
|
+
messages.append({"role": "assistant", "content": llm_response.completion_text})
|
|
330
325
|
messages = list(filter(lambda item: "_no_save" not in item, messages))
|
|
331
326
|
await self.conv_manager.update_conversation(
|
|
332
327
|
event.unified_msg_origin,
|
|
@@ -138,7 +138,7 @@ class ProviderGoogleGenAI(Provider):
|
|
|
138
138
|
modalities = ["TEXT"]
|
|
139
139
|
|
|
140
140
|
tool_list: list[types.Tool] | None = []
|
|
141
|
-
model_name =
|
|
141
|
+
model_name = payloads.get("model", self.get_model())
|
|
142
142
|
native_coderunner = self.provider_config.get("gm_native_coderunner", False)
|
|
143
143
|
native_search = self.provider_config.get("gm_native_search", False)
|
|
144
144
|
url_context = self.provider_config.get("gm_url_context", False)
|
|
@@ -199,16 +199,7 @@ class ProviderGoogleGenAI(Provider):
|
|
|
199
199
|
|
|
200
200
|
# oper thinking config
|
|
201
201
|
thinking_config = None
|
|
202
|
-
if model_name
|
|
203
|
-
"gemini-2.5-pro",
|
|
204
|
-
"gemini-2.5-pro-preview",
|
|
205
|
-
"gemini-2.5-flash",
|
|
206
|
-
"gemini-2.5-flash-preview",
|
|
207
|
-
"gemini-2.5-flash-lite",
|
|
208
|
-
"gemini-2.5-flash-lite-preview",
|
|
209
|
-
"gemini-robotics-er-1.5-preview",
|
|
210
|
-
"gemini-live-2.5-flash-preview-native-audio-09-2025",
|
|
211
|
-
]:
|
|
202
|
+
if model_name.startswith("gemini-2.5"):
|
|
212
203
|
# The thinkingBudget parameter, introduced with the Gemini 2.5 series
|
|
213
204
|
thinking_budget = self.provider_config.get("gm_thinking_config", {}).get(
|
|
214
205
|
"budget", 0
|
|
@@ -217,14 +208,7 @@ class ProviderGoogleGenAI(Provider):
|
|
|
217
208
|
thinking_config = types.ThinkingConfig(
|
|
218
209
|
thinking_budget=thinking_budget,
|
|
219
210
|
)
|
|
220
|
-
elif model_name
|
|
221
|
-
"gemini-3-pro",
|
|
222
|
-
"gemini-3-pro-preview",
|
|
223
|
-
"gemini-3-flash",
|
|
224
|
-
"gemini-3-flash-preview",
|
|
225
|
-
"gemini-3-flash-lite",
|
|
226
|
-
"gemini-3-flash-lite-preview",
|
|
227
|
-
]:
|
|
211
|
+
elif model_name.startswith("gemini-3"):
|
|
228
212
|
# The thinkingLevel parameter, recommended for Gemini 3 models and onwards
|
|
229
213
|
# Gemini 2.5 series models don't support thinkingLevel; use thinkingBudget instead.
|
|
230
214
|
thinking_level = self.provider_config.get("gm_thinking_config", {}).get(
|
|
@@ -436,7 +436,7 @@ class ChatRoute(Route):
|
|
|
436
436
|
accumulated_parts = []
|
|
437
437
|
accumulated_text = ""
|
|
438
438
|
accumulated_reasoning = ""
|
|
439
|
-
|
|
439
|
+
tool_calls = {}
|
|
440
440
|
agent_stats = {}
|
|
441
441
|
except BaseException as e:
|
|
442
442
|
logger.exception(f"WebChat stream unexpected error: {e}", exc_info=True)
|
|
@@ -310,7 +310,7 @@ async function handleSelectConversation(sessionIds: string[]) {
|
|
|
310
310
|
isLoadingMessages.value = true;
|
|
311
311
|
|
|
312
312
|
try {
|
|
313
|
-
await getSessionMsg(sessionIds[0]);
|
|
313
|
+
await getSessionMsg(sessionIds[0], router);
|
|
314
314
|
} finally {
|
|
315
315
|
isLoadingMessages.value = false;
|
|
316
316
|
}
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="input-area fade-in">
|
|
3
3
|
<div class="input-container"
|
|
4
|
-
|
|
5
|
-
width: '85%',
|
|
6
|
-
maxWidth: '900px',
|
|
7
|
-
margin: '0 auto',
|
|
8
|
-
border: isDark ? 'none' : '1px solid #e0e0e0',
|
|
9
|
-
borderRadius: '24px',
|
|
10
|
-
boxShadow: isDark ? 'none' : '0px 2px 2px rgba(0, 0, 0, 0.1)',
|
|
11
|
-
backgroundColor: isDark ? '#2d2d2d' : 'transparent'
|
|
12
|
-
}">
|
|
4
|
+
style="width: 85%; max-width: 900px; margin: 0 auto; border: 1px solid #e0e0e0; border-radius: 24px; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);">
|
|
13
5
|
<!-- 引用预览区 -->
|
|
14
6
|
<div class="reply-preview" v-if="props.replyTo">
|
|
15
7
|
<div class="reply-content">
|
|
@@ -94,7 +86,6 @@
|
|
|
94
86
|
<script setup lang="ts">
|
|
95
87
|
import { ref, computed, onMounted, onBeforeUnmount } from 'vue';
|
|
96
88
|
import { useModuleI18n } from '@/i18n/composables';
|
|
97
|
-
import { useCustomizerStore } from '@/stores/customizer';
|
|
98
89
|
import ConfigSelector from './ConfigSelector.vue';
|
|
99
90
|
import ProviderModelMenu from './ProviderModelMenu.vue';
|
|
100
91
|
import type { Session } from '@/composables/useSessions';
|
|
@@ -149,7 +140,6 @@ const emit = defineEmits<{
|
|
|
149
140
|
}>();
|
|
150
141
|
|
|
151
142
|
const { tm } = useModuleI18n('features/chat');
|
|
152
|
-
const isDark = computed(() => useCustomizerStore().uiTheme === 'PurpleThemeDark');
|
|
153
143
|
|
|
154
144
|
const inputField = ref<HTMLTextAreaElement | null>(null);
|
|
155
145
|
const imageInputRef = ref<HTMLInputElement | null>(null);
|
|
@@ -271,7 +261,7 @@ defineExpose({
|
|
|
271
261
|
<style scoped>
|
|
272
262
|
.input-area {
|
|
273
263
|
padding: 16px;
|
|
274
|
-
background-color:
|
|
264
|
+
background-color: var(--v-theme-surface);
|
|
275
265
|
position: relative;
|
|
276
266
|
border-top: 1px solid var(--v-theme-border);
|
|
277
267
|
flex-shrink: 0;
|
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
@update:selected="$emit('selectConversation', $event)">
|
|
36
36
|
<v-list-item v-for="item in sessions" :key="item.session_id" :value="item.session_id"
|
|
37
37
|
rounded="lg" class="conversation-item" active-color="secondary">
|
|
38
|
-
<v-list-item-title v-if="!sidebarCollapsed || isMobile" class="conversation-title"
|
|
39
|
-
:style="{ color: isDark ? '#ffffff' : '#000000' }">
|
|
38
|
+
<v-list-item-title v-if="!sidebarCollapsed || isMobile" class="conversation-title">
|
|
40
39
|
{{ item.display_name || tm('conversation.newConversation') }}
|
|
41
40
|
</v-list-item-title>
|
|
42
41
|
<!-- <v-list-item-subtitle v-if="!sidebarCollapsed || isMobile" class="timestamp">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-menu
|
|
2
|
+
<v-menu :close-on-content-click="false" location="top">
|
|
3
3
|
<template v-slot:activator="{ props: menuProps }">
|
|
4
4
|
<v-chip v-bind="menuProps" class="text-none provider-chip" variant="tonal" size="x-small">
|
|
5
5
|
<v-icon start size="14">mdi-creation</v-icon>
|
|
@@ -72,13 +72,11 @@ interface ProviderConfig {
|
|
|
72
72
|
model: string;
|
|
73
73
|
api_base?: string;
|
|
74
74
|
model_metadata?: ModelMetadata;
|
|
75
|
-
enable?: boolean;
|
|
76
75
|
}
|
|
77
76
|
|
|
78
77
|
const providerConfigs = ref<ProviderConfig[]>([]);
|
|
79
78
|
const selectedProviderId = ref('');
|
|
80
79
|
const searchQuery = ref('');
|
|
81
|
-
const menuOpen = ref(false);
|
|
82
80
|
|
|
83
81
|
const filteredProviders = computed(() => {
|
|
84
82
|
if (!searchQuery.value) {
|
|
@@ -109,10 +107,7 @@ function loadProviderConfigs() {
|
|
|
109
107
|
params: { provider_type: 'chat_completion' }
|
|
110
108
|
}).then(response => {
|
|
111
109
|
if (response.data.status === 'ok') {
|
|
112
|
-
|
|
113
|
-
providerConfigs.value = (response.data.data || []).filter(
|
|
114
|
-
(p: ProviderConfig) => p.enable !== false
|
|
115
|
-
);
|
|
110
|
+
providerConfigs.value = response.data.data || [];
|
|
116
111
|
}
|
|
117
112
|
}).catch(error => {
|
|
118
113
|
console.error('获取提供商列表失败:', error);
|
|
@@ -145,13 +140,6 @@ function getCurrentSelection() {
|
|
|
145
140
|
};
|
|
146
141
|
}
|
|
147
142
|
|
|
148
|
-
function handleMenuToggle(isOpen: boolean) {
|
|
149
|
-
if (isOpen) {
|
|
150
|
-
// 每次打开菜单时重新获取数据
|
|
151
|
-
loadProviderConfigs();
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
143
|
onMounted(() => {
|
|
156
144
|
loadFromStorage();
|
|
157
145
|
loadProviderConfigs();
|
|
@@ -172,7 +172,7 @@ export function useMessages(
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
async function getSessionMessages(sessionId: string) {
|
|
175
|
+
async function getSessionMessages(sessionId: string, router: any) {
|
|
176
176
|
if (!sessionId) return;
|
|
177
177
|
|
|
178
178
|
try {
|
|
@@ -188,7 +188,7 @@ export function useMessages(
|
|
|
188
188
|
|
|
189
189
|
// 如果会话还在运行,3秒后重新获取消息
|
|
190
190
|
setTimeout(() => {
|
|
191
|
-
getSessionMessages(currSessionId.value);
|
|
191
|
+
getSessionMessages(currSessionId.value, router);
|
|
192
192
|
}, 3000);
|
|
193
193
|
}
|
|
194
194
|
|
|
@@ -353,10 +353,6 @@ export function useMessages(
|
|
|
353
353
|
const { done, value } = await reader.read();
|
|
354
354
|
if (done) {
|
|
355
355
|
console.log('SSE stream completed');
|
|
356
|
-
// 流式传输结束后,获取最终消息并重新渲染
|
|
357
|
-
if (currSessionId.value) {
|
|
358
|
-
await getSessionMessages(currSessionId.value);
|
|
359
|
-
}
|
|
360
356
|
break;
|
|
361
357
|
}
|
|
362
358
|
|
|
@@ -41,13 +41,7 @@ export function useSessions(chatboxMode: boolean = false) {
|
|
|
41
41
|
selectedSessions.value = [pendingSessionId.value];
|
|
42
42
|
pendingSessionId.value = null;
|
|
43
43
|
}
|
|
44
|
-
} else if (currSessionId.value) {
|
|
45
|
-
// 如果当前有选中的会话,确保它在列表中并被选中
|
|
46
|
-
const session = sessions.value.find(s => s.session_id === currSessionId.value);
|
|
47
|
-
if (session) {
|
|
48
|
-
selectedSessions.value = [currSessionId.value];
|
|
49
|
-
}
|
|
50
|
-
} else if (sessions.value.length > 0) {
|
|
44
|
+
} else if (!currSessionId.value && sessions.value.length > 0) {
|
|
51
45
|
// 默认选择第一个会话
|
|
52
46
|
const firstSession = sessions.value[0];
|
|
53
47
|
selectedSessions.value = [firstSession.session_id];
|
|
@@ -71,10 +65,6 @@ export function useSessions(chatboxMode: boolean = false) {
|
|
|
71
65
|
router.push(`${basePath}/${sessionId}`);
|
|
72
66
|
|
|
73
67
|
await getSessions();
|
|
74
|
-
|
|
75
|
-
// 确保新创建的会话被选中高亮
|
|
76
|
-
selectedSessions.value = [sessionId];
|
|
77
|
-
|
|
78
68
|
return sessionId;
|
|
79
69
|
} catch (err) {
|
|
80
70
|
console.error(err);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Providers",
|
|
3
|
-
"subtitle": "
|
|
3
|
+
"subtitle": "Manage model providers",
|
|
4
4
|
"providers": {
|
|
5
5
|
"title": "Service Providers",
|
|
6
6
|
"settings": "Settings",
|
|
@@ -7,11 +7,9 @@ import VerticalHeaderVue from './vertical-header/VerticalHeader.vue';
|
|
|
7
7
|
import MigrationDialog from '@/components/shared/MigrationDialog.vue';
|
|
8
8
|
import Chat from '@/components/chat/Chat.vue';
|
|
9
9
|
import { useCustomizerStore } from '@/stores/customizer';
|
|
10
|
-
import { useRouterLoadingStore } from '@/stores/routerLoading';
|
|
11
10
|
|
|
12
11
|
const customizer = useCustomizerStore();
|
|
13
12
|
const route = useRoute();
|
|
14
|
-
const routerLoadingStore = useRouterLoadingStore();
|
|
15
13
|
|
|
16
14
|
// 计算是否在聊天页面(非全屏模式)
|
|
17
15
|
const isChatPage = computed(() => {
|
|
@@ -62,16 +60,6 @@ onMounted(() => {
|
|
|
62
60
|
<v-app :theme="useCustomizerStore().uiTheme"
|
|
63
61
|
:class="[customizer.fontTheme, customizer.mini_sidebar ? 'mini-sidebar' : '', customizer.inputBg ? 'inputWithbg' : '']"
|
|
64
62
|
>
|
|
65
|
-
<!-- 路由切换进度条 -->
|
|
66
|
-
<v-progress-linear
|
|
67
|
-
v-if="routerLoadingStore.isLoading"
|
|
68
|
-
:model-value="routerLoadingStore.progress"
|
|
69
|
-
color="primary"
|
|
70
|
-
height="2"
|
|
71
|
-
fixed
|
|
72
|
-
top
|
|
73
|
-
style="z-index: 9999; position: absolute; opacity: 0.3; "
|
|
74
|
-
/>
|
|
75
63
|
<VerticalHeaderVue />
|
|
76
64
|
<VerticalSidebarVue v-if="showSidebar" />
|
|
77
65
|
<v-main :style="{
|
|
@@ -3,7 +3,6 @@ import MainRoutes from './MainRoutes';
|
|
|
3
3
|
import AuthRoutes from './AuthRoutes';
|
|
4
4
|
import ChatBoxRoutes from './ChatBoxRoutes';
|
|
5
5
|
import { useAuthStore } from '@/stores/auth';
|
|
6
|
-
import { useRouterLoadingStore } from '@/stores/routerLoading';
|
|
7
6
|
|
|
8
7
|
export const router = createRouter({
|
|
9
8
|
history: createWebHashHistory(import.meta.env.BASE_URL),
|
|
@@ -23,11 +22,6 @@ interface AuthStore {
|
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
router.beforeEach(async (to, from, next) => {
|
|
26
|
-
if (from.name && from.path !== to.path) {
|
|
27
|
-
const loadingStore = useRouterLoadingStore();
|
|
28
|
-
loadingStore.start();
|
|
29
|
-
}
|
|
30
|
-
|
|
31
25
|
const publicPages = ['/auth/login'];
|
|
32
26
|
const authRequired = !publicPages.includes(to.path);
|
|
33
27
|
const auth: AuthStore = useAuthStore();
|
|
@@ -46,8 +40,3 @@ router.beforeEach(async (to, from, next) => {
|
|
|
46
40
|
next();
|
|
47
41
|
}
|
|
48
42
|
});
|
|
49
|
-
|
|
50
|
-
router.afterEach(() => {
|
|
51
|
-
const loadingStore = useRouterLoadingStore();
|
|
52
|
-
loadingStore.finish();
|
|
53
|
-
});
|
|
@@ -499,23 +499,21 @@ export default {
|
|
|
499
499
|
// 将对话历史转换为 MessageList 组件期望的格式
|
|
500
500
|
formattedMessages() {
|
|
501
501
|
return this.conversationHistory.map(msg => {
|
|
502
|
-
console.log('处理消息:', msg.role, msg.
|
|
503
|
-
|
|
504
|
-
// 将消息内容转换为 MessagePart[] 格式
|
|
505
|
-
const messageParts = this.convertContentToMessageParts(msg.content);
|
|
506
|
-
|
|
502
|
+
console.log('处理消息:', msg.role, msg.image_url, msg.audio_url);
|
|
507
503
|
if (msg.role === 'user') {
|
|
508
504
|
return {
|
|
509
505
|
content: {
|
|
510
506
|
type: 'user',
|
|
511
|
-
message:
|
|
507
|
+
message: this.extractTextFromContent(msg.content),
|
|
508
|
+
image_url: this.extractImagesFromContent(msg.content),
|
|
512
509
|
}
|
|
513
510
|
};
|
|
514
511
|
} else {
|
|
515
512
|
return {
|
|
516
513
|
content: {
|
|
517
514
|
type: 'bot',
|
|
518
|
-
message:
|
|
515
|
+
message: this.extractTextFromContent(msg.content),
|
|
516
|
+
embedded_images: this.extractImagesFromContent(msg.content),
|
|
519
517
|
}
|
|
520
518
|
};
|
|
521
519
|
}
|
|
@@ -992,61 +990,7 @@ export default {
|
|
|
992
990
|
this.showMessage = true;
|
|
993
991
|
},
|
|
994
992
|
|
|
995
|
-
//
|
|
996
|
-
convertContentToMessageParts(content) {
|
|
997
|
-
const parts = [];
|
|
998
|
-
|
|
999
|
-
if (typeof content === 'string') {
|
|
1000
|
-
// 纯文本内容
|
|
1001
|
-
if (content.trim()) {
|
|
1002
|
-
parts.push({
|
|
1003
|
-
type: 'plain',
|
|
1004
|
-
text: content
|
|
1005
|
-
});
|
|
1006
|
-
}
|
|
1007
|
-
} else if (Array.isArray(content)) {
|
|
1008
|
-
// 数组格式(OpenAI 格式)
|
|
1009
|
-
content.forEach(item => {
|
|
1010
|
-
if (item.type === 'text' && item.text) {
|
|
1011
|
-
parts.push({
|
|
1012
|
-
type: 'plain',
|
|
1013
|
-
text: item.text
|
|
1014
|
-
});
|
|
1015
|
-
} else if (item.type === 'image_url' && item.image_url?.url) {
|
|
1016
|
-
parts.push({
|
|
1017
|
-
type: 'image',
|
|
1018
|
-
embedded_url: item.image_url.url
|
|
1019
|
-
});
|
|
1020
|
-
}
|
|
1021
|
-
});
|
|
1022
|
-
} else if (typeof content === 'object' && content !== null) {
|
|
1023
|
-
// 对象格式,尝试提取文本和图片
|
|
1024
|
-
const textParts = [];
|
|
1025
|
-
for (const [key, value] of Object.entries(content)) {
|
|
1026
|
-
if (typeof value === 'string' && value.trim()) {
|
|
1027
|
-
textParts.push(value);
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
if (textParts.length > 0) {
|
|
1031
|
-
parts.push({
|
|
1032
|
-
type: 'plain',
|
|
1033
|
-
text: textParts.join('\n')
|
|
1034
|
-
});
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
// 如果没有提取到任何内容,添加一个空文本
|
|
1039
|
-
if (parts.length === 0) {
|
|
1040
|
-
parts.push({
|
|
1041
|
-
type: 'plain',
|
|
1042
|
-
text: ''
|
|
1043
|
-
});
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
return parts;
|
|
1047
|
-
},
|
|
1048
|
-
|
|
1049
|
-
// 从内容中提取文本(保留用于其他用途)
|
|
993
|
+
// 从内容中提取文本
|
|
1050
994
|
extractTextFromContent(content) {
|
|
1051
995
|
if (typeof content === 'string') {
|
|
1052
996
|
return content;
|
|
@@ -1060,7 +1004,7 @@ export default {
|
|
|
1060
1004
|
return '';
|
|
1061
1005
|
},
|
|
1062
1006
|
|
|
1063
|
-
// 从内容中提取图片URL
|
|
1007
|
+
// 从内容中提取图片URL
|
|
1064
1008
|
extractImagesFromContent(content) {
|
|
1065
1009
|
if (Array.isArray(content)) {
|
|
1066
1010
|
return content.filter(item => item.type === 'image_url')
|