Commit Graph

  • cb0233f7b6 fix: 打印原文 develop npc0-hue 2026-04-25 10:17:36 +08:00
  • 6c0c6ba1fe fix: client_ip 打印客户端ip npc0-hue 2026-04-25 10:11:09 +08:00
  • 3240e6e4e5 fix: 模型名称自动加us.anthropic之类的,方便维护 npc0-hue 2026-04-24 18:09:06 +08:00
  • 8d823787b7 fix: 构建 Bedrock 请求详情打印 npc0-hue 2026-04-24 17:24:45 +08:00
  • 84fc7bcb43 fix: 构建 Bedrock 请求详情打印 npc0-hue 2026-04-24 16:52:49 +08:00
  • e08b1b079c fix: 构建 Bedrock URL处理 npc0-hue 2026-04-24 16:38:41 +08:00
  • 3f6ef97148 fix: anthropic.* 前缀是 AWS Bedrock 专用模型 ID 格式(如 anthropic.claude-sonnet-4-6), npc0-hue 2026-04-24 14:42:15 +08:00
  • 33a34e4181 fix: 后端转发修改转发时长 npc0-hue 2026-04-24 14:32:06 +08:00
  • 347e48cef6 fix: 添加DeepSeek支持 npc0-hue 2026-04-24 12:12:28 +08:00
  • d2a7ade1b0 fix: 补充index npc0-hue 2026-04-24 11:04:57 +08:00
  • efc25217dc fix(bedrock): 代理改为反向代理模式,兼容不支持 CONNECT 的代理 - 取消 http.Transport.Proxy(要求代理支持 HTTP CONNECT 隧道) - 改为直接向代理地址发 HTTP 请求(host:port),路径同 Bedrock 原生 API - httpReq.Host 设为真实 Bedrock host,SigV4 仍针对真实 host 签名后复制头部 - 支持凭证内 bedrock_proxy_url 与全局 BEDROCK_PROXY 环境变量(优先凭证) - config.Gaia 增加 BedrockProxy 字段,overrideGaiaFromEnv 从 BEDROCK_PROXY 读取 npc0-hue 2026-04-24 10:58:58 +08:00
  • 618a355ec8 feat(bedrock): 全局 BEDROCK_PROXY 环境变量支持 凭证里 bedrock_proxy_url 优先,未配置则回落到 BEDROCK_PROXY env。 解决 admin-server 在受限地区(如中国)直连 bedrock-runtime 被 Anthropic 地区拦截的问题。 与 Dify Python 侧 BEDROCK_PROXY 含义一致,docker-compose 设置一次即可全局生效。 npc0-hue 2026-04-24 10:48:36 +08:00
  • d474f15673 fix(routing): Claude 模型路由优先 aws,未开启再回落 anthropic 原来写死 anthropic 优先,导致只要 anthropic provider 配置过就直连 api.anthropic.com,在地区受限时报 geo-block 错误。 改为:哪个 provider 开启且包含该模型就用哪个(aws 先试)。 npc0-hue 2026-04-24 10:15:47 +08:00
  • 3bad30bff1 feat(bedrock): 支持 bedrock_proxy_url 代理配置 从 Dify provider_credentials 的 encrypted_config 中读取 bedrock_proxy_url 字段, 若非空则将 HTTP 请求经该代理(host:port 或 http://host:port)转发到 AWS Bedrock, 不再强制直连 bedrock-runtime.{region}.amazonaws.com。 变更: - ProviderCredentials 新增 BedrockProxyURL 字段 - ConfigKeyBedrockProxyURL 常量 - GetDifyProviderCredentials 提取 bedrock_proxy_url(明文,不解密) - proxyBedrockRequest 根据 BedrockProxyURL 配置 http.Transport.Proxy npc0-hue 2026-04-24 09:59:56 +08:00
  • ea77171028 fix(aws): 修复 provider_credentials 表 LIKE 查询无法匹配 bedrock_claude Dify 内部将 AWS Bedrock provider 存储为 'langgenius/bedrock_claude/bedrock_claude', 而非含 'aws' 关键字的名称,导致 LIKE '%aws%' 查询返回空结果。 新增 difyProviderLikePattern() 辅助方法: - ProviderAWS → LIKE '%bedrock%'(兼容 bedrock_claude 和 bedrock 两种插件包) - 其他 provider 保持原有 LIKE '%<name>%' 逻辑 npc0-hue 2026-04-23 17:53:10 +08:00
  • bb1db4ca99 fix(aws): 前端 & 后端测试凭证支持 AWS Bedrock - TestProviderCredentials: AWS 渠道返回 access_key_id(脱敏)/region/session_token 状态 - modelManagement/index.vue: 测试凭证弹窗适配 AWS 字段展示 - 模型列表提示区分 AWS/Anthropic/其他,附上常用 Bedrock 模型 ID 示例 npc0-hue 2026-04-23 15:44:09 +08:00
  • 5618c89721 fix(aws): 打通 AWS Bedrock 转发链路 - model_provider_constants_extend.go: 新增 AWS 凭证配置 key 常量 (ConfigKeyAWSAccessKeyID/SecretAccessKey/SessionToken/Region) - GetDifyProviderCredentials: 解析 Dify bedrock provider 的 AWS 凭证字段 - GetAvailableModelsFromDify: AWS/Anthropic 在 credentials 之前提前返回, 避免因 APIKey 为空触发误报 - ProxyRequest: 在获取凭证后新增 AWS 分支,直接调用 proxyBedrockRequest 完成 SigV4 签名直连 Bedrock 原生 API(bedrock_extend.go 中已实现,此前未被调用) npc0-hue 2026-04-23 15:41:53 +08:00
  • 3a02769e4a fix: 转发添加新模型和模型提供商 main npc0-hue 2026-04-23 14:49:29 +08:00
  • eb26ee9bc3 chore(deps-dev): bump storybook from 10.2.0 to 10.3.3 in /web dependabot/npm_and_yarn/web/storybook-10.3.3 dependabot[bot] 2026-04-01 19:07:12 +00:00
  • 7a40473988 chore(deps): bump sharp from 0.33.5 to 0.34.5 in /web dependabot/npm_and_yarn/web/sharp-0.34.5 dependabot[bot] 2026-04-01 19:06:39 +00:00
  • 0af791f56c fix: admin初始化修改 1.12.1.fix npc0-hue 2026-03-31 15:26:21 +08:00
  • 0b20a17074 fix: 移除转发body npc0-hue 2026-03-31 15:02:04 +08:00
  • d13e083f37 fix: 调整docker初始化地址 npc0-hue 2026-03-30 16:43:00 +08:00
  • 1cc7f4bc7b frea: admin初始化修改 npc0-hue 2026-03-30 16:24:02 +08:00
  • 8341905b21 Merge pull request #111 from YFGaia/dependabot/npm_and_yarn/web/eslint-react/eslint-plugin-2.7.4 npc0-hue 2026-03-27 15:38:55 +08:00
  • b5af9263f8 Merge pull request #110 from YFGaia/dependabot/npm_and_yarn/web/elkjs-0.11.0 npc0-hue 2026-03-27 15:37:25 +08:00
  • 950ef2d13e fix: 批量工作流刷新效果修改 npc0-hue 2026-03-27 15:25:21 +08:00
  • 8257113c50 fix: 批处理修改 npc0-hue 2026-03-27 14:51:11 +08:00
  • fff9543a37 fix: An “Internal Server Error” occurs on the monitoring page of the Chatflow application. npc0-hue 2026-03-27 14:50:09 +08:00
  • 02e568c6d5 fix: 邮箱查询用户 npc0-hue 2026-03-25 11:16:31 +08:00
  • 2bc3e4dc39 fix: fastopenapi路由认证 npc0-hue 2026-03-25 09:53:24 +08:00
  • d7b77bee2e fix: 数据库密码莫名被改,注释掉数据库端口和redis端口 npc0-hue 2026-03-23 17:25:07 +08:00
  • ce82b5f776 fix: docker-compose.middleware.yaml修复 npc0-hue 2026-03-23 16:02:19 +08:00
  • f328825da7 fear: 恢复api密钥token使用量控制 npc0-hue 2026-03-23 16:01:42 +08:00
  • 892a5f9127 fix: 批处理设置超时 npc0-hue 2026-03-18 11:30:11 +08:00
  • 1d6e41829a fix: 调用第三方邮箱 API和镜像修改 npc0-hue 2026-03-13 11:44:39 +08:00
  • 0484655f13 fix: 规范化处理代码 npc0-hue 2026-03-12 14:47:02 +08:00
  • 786920c7e3 fix: 规范化处理代码 npc0-hue 2026-03-12 11:42:02 +08:00
  • b84e94250f fix: 规范化处理代码 npc0-hue 2026-03-12 11:29:37 +08:00
  • 9591795b10 fix: 千问3.5-plus计费不正确修复 npc0-hue 2026-03-12 11:11:47 +08:00
  • 8df2e46658 fix: 余额不足直接拦截 npc0-hue 2026-03-12 10:48:01 +08:00
  • 22d01c3c55 fix: 测试连接出现双重 /admin npc0-hue 2026-03-12 09:43:46 +08:00
  • d1b32f4310 fix: 综合修复(请求头打印、邮箱/用户名匹配、密钥显示、签名校验、删除报错等) npc0-hue 2026-03-12 09:21:21 +08:00
  • 4b5e2eaf35 fix: 计费完善 npc0-hue 2026-03-11 12:05:53 +08:00
  • e283aa4055 feat: 前段完善 npc0-hue 2026-03-10 11:58:14 +08:00
  • b5aba401e5 feat: 初始化token和前段修改 npc0-hue 2026-03-10 10:17:57 +08:00
  • bc2edcdde6 feat: 钉钉机器人转发(未测试) fix: admin初始化出错 npc0-hue 2026-03-09 22:37:08 +08:00
  • 5962b9b518 feat: 钉钉机器人转发(未测试) fix: admin初始化出错 npc0-hue 2026-03-09 22:34:02 +08:00
  • 1b447b7b0b fix: admin初始化有误修复 npc0-hue 2026-03-06 12:50:00 +08:00
  • 6c3a61d479 Merge remote-tracking branch 'origin/main' 1.12.1 npc0-hue 2026-02-27 09:58:15 +08:00
  • 2193013e0f fix: 调整admin数据库初始化,只用一个初始化创建 npc0-hue 2026-02-27 09:56:46 +08:00
  • 962730cf12 fix: 更新docker-compose npc0-hue 2026-02-26 15:51:12 +08:00
  • bd856e988f fix: 修复web app 会话工作流 404问题会话列表 npc0-hue 2026-02-25 17:08:02 +08:00
  • 10ec0eb953 feat: 合并近期功能与修复 npc0-hue 2026-02-24 16:24:23 +08:00
  • e0cf5e2e27 chore(deps-dev): bump @eslint-react/eslint-plugin in /web dependabot[bot] 2026-02-11 11:12:55 +00:00
  • 2520715b8a chore(deps): bump elkjs from 0.9.3 to 0.11.0 in /web dependabot[bot] 2026-02-11 11:12:47 +00:00
  • 685ff83dcb fear: 移除pnpm-lock npc0-hue 2026-02-11 19:11:34 +08:00
  • 565be39cfb fear: admin添加app应用版本管理 system-features添加 npc0-hue 2026-02-11 18:11:38 +08:00
  • 9226a3d795 feat: 新增后端模型管理,第三方快捷登录 npc0-hue 2026-02-11 17:41:59 +08:00
  • 7947b7976b feat: 1.12.1初步合并 Merge upstream release cd03e0a (hotfix/1.12.1-fix.0) into main npc0-hue 2026-02-09 09:51:18 +08:00
  • df9bed2950 fear: admin添加app应用版本管理 system-features添加 npc0-hue 2026-02-09 09:11:58 +08:00
  • cd03e0a9ef fix: fix delete_draft_variables_batch cycle forever (#31934) wangxiaolei 2026-02-04 19:10:27 +08:00
  • df2421d187 fix: auto summary env (#31930) zxhlyh 2026-02-04 17:47:38 +08:00
  • 0ba321d840 chore: bump version in docker-compose and package manager to 1.12.1 (#31947) QuantumGhost 2026-02-04 19:29:28 +08:00
  • 8c9e7652ec fix: 依赖更新 Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write #106 @isaacs/brace-expansion has Uncontrolled Resource Consumption #107 jwt-go allows excessive memory allocation during header parsing #24 golang.org/x/crypto Vulnerable to Denial of Service (DoS) via Slow or Incomplete Key Exchange #29 部分文件修复 npc0-hue 2026-02-04 18:10:06 +08:00
  • d8402f686e fix: base url in client (#31902) Stephen Zhou 2026-02-04 12:09:22 +08:00
  • 8bd8dee767 fix(docker): improve IRIS data persistence with proper Durable %SYS (#31901) Tomo 2026-02-04 12:39:26 +09:00
  • 05f2764d7c fix(docker): persist IRIS data across container recreation using Durable %SYS (#31899) Tomo 2026-02-04 10:57:46 +09:00
  • f5d6c250ed fix: "refactor: port api/controllers/console/tag/tags.py to ov3" (#31887) Asuka Minato 2026-02-03 23:18:53 +09:00
  • 45daec7541 refactor: replace line-clamp package with native CSS (#31877) niveshdandyan 2026-02-03 22:14:18 +08:00
  • c14a8bb437 chore(dev): use strict bash mode for pytest (#31873) 盐粒 Yanli 2026-02-03 19:42:42 +08:00
  • b76c8fa853 test: fix test (#31880) Stephen Zhou 2026-02-03 18:47:05 +08:00
  • 8c3e77cd0c chore: update version to 1.12.0 (#31878) QuantumGhost 2026-02-03 18:08:15 +08:00
  • 476946f122 test: fix test (#31869) Stephen Zhou 2026-02-03 17:43:27 +08:00
  • 62a698a883 fix: create app from template not support review (#31866) Joel 2026-02-03 16:40:35 +08:00
  • ebca36ffbb refactor: update oauth_new_user handling in AppInitializer to use parseAsBoolean (#31862) Coding On Star 2026-02-03 15:20:26 +08:00
  • aa7fe42615 test: enhance CommandSelector and GotoAnythingProvider tests (#31743) Coding On Star 2026-02-03 13:47:30 +08:00
  • b55c0ec4de fix: revert "refactor: api/controllers/console/feature.py (test)" (#31850) Stephen Zhou 2026-02-03 12:26:47 +08:00
  • 8b50c0d920 chore(deps-dev): bump types-psutil from 7.0.0.20251116 to 7.2.2.20260130 in /api (#31814) dependabot[bot] 2026-02-03 09:59:29 +08:00
  • 47f8de3f8e refactor: port api/controllers/console/app/annotation.py api/controllers/console/explore/trial.py api/controllers/console/workspace/account.py api/controllers/console/workspace/members.py api/controllers/service_api/app/annotation.py to basemodel (#31833) Asuka Minato 2026-02-03 10:59:00 +09:00
  • 491fa9923b refactor: port api/controllers/console/datasets/data_source.py /datasets/metadata.py /service_api/dataset/metadata.py /nodes/agent/agent_node.py api/core/workflow/nodes/datasource/datasource_node.py api/services/dataset_service.py to match case (#31836) Asuka Minato 2026-02-02 21:03:16 +09:00
  • ce2c41bbf5 refactor: port api/controllers/console/datasets/datasets_document.py api/controllers/service_api/app/annotation.py api/core/app/app_config/easy_ui_based_app/agent/manager.py api/core/app/apps/pipeline/pipeline_generator.py api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py to match case (#31832) Asuka Minato 2026-02-02 19:07:30 +09:00
  • 920db69ef2 refactor: if to match (#31799) Asuka Minato 2026-02-02 18:12:03 +09:00
  • ac222a4dd4 refactor: port api/controllers/console/app/audio.py api/controllers/console/app/message.py api/controllers/console/auth/data_source_oauth.py api/controllers/console/auth/forgot_password.py api/controllers/console/workspace/endpoint.py (#30680) Asuka Minato 2026-02-02 18:03:07 +09:00
  • 840a975fef refactor: add test for api/controllers/console/workspace/tool_pr… (#29886) Asuka Minato 2026-02-02 14:54:16 +09:00
  • 9fb72c151c refactor: "chore: update version to 1.12.0" (#31817) QuantumGhost 2026-02-02 11:18:18 +08:00
  • 603a896c49 chore(CODEOWNERS): assign .agents/skills to @hyoban (#31816) -LAN- 2026-02-02 11:12:04 +08:00
  • 41177757e6 fix: summary index bug (#31810) FFXN 2026-02-02 09:45:17 +08:00
  • 4f826b4641 refactor(typing): use enum types for workflow status fields (#31792) yyh 2026-02-02 09:41:34 +08:00
  • 3216b67bfa refactor: examples of use match case (#31312) Asuka Minato 2026-02-01 19:25:54 +09:00
  • 7828508b30 refactor: remove all reqparser (#29289) Asuka Minato 2026-02-01 13:43:14 +09:00
  • b8cb5f5ea2 refactor(typing): Fixup typing A2 - workflow engine & nodes (#31723) 盐粒 Yanli 2026-01-31 17:00:56 +08:00
  • 5bc99995fc fix(api): align graph protocols for response streaming (#31777) 盐粒 Yanli 2026-01-31 00:57:36 +08:00
  • a433d5ed36 refactor: port api/controllers/console/tag/tags.py to ov3 (#31767) Asuka Minato 2026-01-30 22:40:14 +09:00
  • b58d9e030a refactor: init_validate.py to v3 (#31457) Asuka Minato 2026-01-30 22:39:02 +09:00
  • a4db322440 chore: update restx to 1.3.2 (#31229) Asuka Minato 2026-01-30 22:24:49 +09:00
  • 24b280a0ed fix(i18n): improve Chinese translation of Max Tokens (#31771) lif 2026-01-30 20:19:35 +08:00
  • 90fe9abab7 revert: revert human input relevant code (#31766) QuantumGhost 2026-01-30 19:18:49 +08:00
  • ba568a634d refactor: api/controllers/console/remote_files.py to ov3 (#31466) Asuka Minato 2026-01-30 19:32:20 +09:00
  • f33d99ea01 refactor: api/controllers/console/feature.py (test) (#31562) Cursx 2026-01-30 18:22:01 +08:00