山程漫悟
09393b2326
Merge pull request #982 from SuanmoSuanyangTechnology/fix/wxy_031
...
fix(quota_manager): retrieve workspace_id from api_key_auth context
v0.3.1
2026-04-23 00:17:04 +08:00
wwq
eaa66ba71a
fix(quota_manager): retrieve workspace_id from api_key_auth context
...
- Add logic to resolve the workspace ID derived from the API key authentication context.
2026-04-23 00:14:29 +08:00
yingzhao
c59a97afba
Merge pull request #981 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): user profile
2026-04-23 00:10:00 +08:00
zhaoying
9480a61229
fix(web): user profile
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-23 00:07:29 +08:00
yingzhao
7ffd250b08
Merge pull request #980 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): i18n update
2026-04-22 23:48:06 +08:00
zhaoying
52bccfaede
fix(web): i18n update
2026-04-22 23:14:43 +08:00
山程漫悟
9233e74f36
Merge pull request #978 from SuanmoSuanyangTechnology/fix/Timebomb_031
...
fix(api-key)
2026-04-22 20:24:25 +08:00
Timebomb2018
46dfd92a9f
feat(api-key): adjust default rate limit and daily request limit values
2026-04-22 20:23:05 +08:00
山程漫悟
5f33cec8ad
Merge pull request #977 from SuanmoSuanyangTechnology/fix/Timebomb_031
...
fix(workflow/llm)
2026-04-22 20:08:11 +08:00
山程漫悟
334502f06b
Merge pull request #976 from SuanmoSuanyangTechnology/fix/wxy_031
...
feat(quota): implement workspace-level quota enforcement and statistics
2026-04-22 20:06:56 +08:00
Timebomb2018
b0bb5e883c
refactor(workflow/llm): replace regex substitution with string replace for context rendering
2026-04-22 20:05:45 +08:00
wwq
b9cfc47e1e
feat(quota): implement workspace-level quota enforcement and statistics
...
- Refactor quota management logic to support usage checks scoped by workspace.
- Update quota statistics API to return granular quota details for each workspace.
- Revise default configuration settings for terminal user and model limits.
- Remove quota check decorators from the model controller.
2026-04-22 19:54:42 +08:00
wwq
4a4391a19c
feat(quota): implement workspace-level quota enforcement and statistics
...
- Refactor quota management logic to support usage checks scoped by workspace.
- Update quota statistics API to return granular quota details for each workspace.
- Revise default configuration settings for terminal user and model limits.
- Remove quota check decorators from the model controller.
2026-04-22 18:52:27 +08:00
wwq
7193eed9e3
feat(quota): implement workspace-level quota enforcement and statistics
...
- Refactor quota management logic to support usage checks scoped by workspace.
- Update quota statistics API to return granular quota details for each workspace.
- Revise default configuration settings for terminal user and model limits.
- Remove quota check decorators from the model controller.
2026-04-22 18:46:22 +08:00
yingzhao
2a03f70287
Merge pull request #972 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): var-aggregator‘s variable delay calculate
2026-04-22 15:34:54 +08:00
zhaoying
124e8d0639
fix(web): var-aggregator‘s variable delay calculate
2026-04-22 15:33:59 +08:00
yingzhao
7dc35bb3fb
Merge pull request #970 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): agent deep thinking loading
2026-04-22 14:36:30 +08:00
zhaoying
b488590537
fix(web): agent deep thinking loading
2026-04-22 14:34:09 +08:00
山程漫悟
aa56ad15f9
Merge pull request #968 from SuanmoSuanyangTechnology/fix/Timebomb_031
...
fix(workflow tool)
2026-04-22 14:18:48 +08:00
Timebomb2018
d6af459ca8
Merge branch 'refs/heads/release/v0.3.1' into fix/Timebomb_031
2026-04-22 14:16:12 +08:00
山程漫悟
2f7fd85ab1
Merge pull request #964 from SuanmoSuanyangTechnology/fix/wxy_031
...
feat(plan): bump free plan model quota from 1 to 4
2026-04-22 14:15:49 +08:00
Timebomb2018
398aebd0c5
Merge branch 'refs/heads/release/v0.3.1' into fix/Timebomb_031
2026-04-22 14:13:04 +08:00
wwq
eaa4058c56
fix(quota_manager): exclude trial users from tenant terminal user count
...
- Deduct trial user records when aggregating the total number of terminal users for a tenant.
2026-04-22 14:12:44 +08:00
Timebomb2018
21b25bfef7
feat(workflow): support MCP tool type with operation-to-tool_name mapping
2026-04-22 14:12:35 +08:00
yingzhao
a61acbef93
Merge pull request #966 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): tool config
2026-04-22 13:03:41 +08:00
zhaoying
a90757745d
fix(web): tool config
2026-04-22 13:02:42 +08:00
yingzhao
b882863907
Merge pull request #965 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): i18n update
2026-04-22 11:59:34 +08:00
zhaoying
9159d5cbb0
fix(web): i18n update
2026-04-22 11:58:47 +08:00
Mark
537f6a1812
Merge branch 'release/v0.3.1' of github.com:SuanmoSuanyangTechnology/MemoryBear into release/v0.3.1
...
* 'release/v0.3.1' of github.com:SuanmoSuanyangTechnology/MemoryBear:
fix(web): stream add default error message
fix(quota): restrict quota check to new terminal user creation only
fix(api): fix API Key rate limiting and terminal user quota checks
feat(exception): enhance I18nException response format and add error code mapping
feat(quota): add quota checks during app duplication and import operations
fix(知识服务): 添加工作空间模型配置的校验
refactor(knowledge_service): 简化模型绑定逻辑,直接使用工作区配置
fix(知识服务): 修复创建知识库时未检查视觉模型存在的错误
refactor(knowledge_service): 优化模型绑定逻辑,使用ID查询并简化回退机制
2026-04-22 11:47:47 +08:00
Mark
1ea0f308ba
[fix] celery task
2026-04-22 11:47:32 +08:00
wwq
77c023102e
feat(plan): bump free plan model quota from 1 to 4
...
- Increase the model quota for the free tier from 1 to 4.
2026-04-22 11:10:41 +08:00
yingzhao
ad24119b2d
Merge pull request #963 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): stream add default error message
2026-04-22 10:20:00 +08:00
zhaoying
ea6fa154e0
fix(web): stream add default error message
2026-04-22 10:17:21 +08:00
Mark
158507cf8e
Merge pull request #962 from SuanmoSuanyangTechnology/fix/wxy_031
...
fix(quota): restrict quota check to new terminal user creation only
2026-04-21 21:20:24 +08:00
wwq
5e0d30dde8
fix(quota): restrict quota check to new terminal user creation only
...
- Avoid redundant quota checks for existing users on every request to optimize performance.
2026-04-21 21:16:35 +08:00
Mark
363d775270
Merge pull request #961 from SuanmoSuanyangTechnology/fix/wxy_031
...
fix(api): fix API Key rate limiting and terminal user quota checks
2026-04-21 20:57:25 +08:00
wwq
ad4121b0d8
fix(api): fix API Key rate limiting and terminal user quota checks
...
- Revert API Key rate limit handling to throw an error instead of auto-capping when exceeding the plan limit.
- Optimize terminal user quota check logic to validate only during new user creation, avoiding redundant checks.
- Add method to query terminal users by `workspace_id` and `other_id`.
2026-04-21 20:48:06 +08:00
山程漫悟
671df83bcd
Merge pull request #958 from SuanmoSuanyangTechnology/fix/wxy_031
...
feat(exception): enhance I18nException response format and add error code mapping
2026-04-21 18:26:01 +08:00
wwq
8bb5a66401
feat(exception): enhance I18nException response format and add error code mapping
...
- Standardize error response format to include business error codes, timestamps, and other fields.
- Add ERROR_CODE_TO_BIZ_CODE mapping table for error code conversion.
- Introduce QUOTA_EXCEEDED and RATE_LIMIT_EXCEEDED business error codes.
2026-04-21 18:16:38 +08:00
wwq
4c9f327833
feat(quota): add quota checks during app duplication and import operations
...
- Integrate quota check decorators into app duplication, workflow import save, and app import actions.
- Explicitly validate application quotas for new app imports.
2026-04-21 18:15:31 +08:00
山程漫悟
6bd528eace
Merge pull request #956 from SuanmoSuanyangTechnology/fix/wxy_031
...
refactor(knowledge_service): optimize model binding logic using ID lookup and streamlined fallback
2026-04-21 17:36:12 +08:00
Mark
2b5bece9b6
[modify] nfs read error
2026-04-21 17:34:03 +08:00
Mark
ea0e65f1ec
[modify] fix tasks
2026-04-21 17:29:35 +08:00
wwq
cb2a7aa60a
fix(知识服务): 添加工作空间模型配置的校验
...
在创建知识时检查工作空间是否配置了必要的模型,未配置时抛出异常提示用户
2026-04-21 17:18:11 +08:00
wwq
402c8aef5d
refactor(knowledge_service): 简化模型绑定逻辑,直接使用工作区配置
...
移除_get_model_by_id_or_fallback方法,直接使用工作区配置的模型ID
对于image2text模型,放宽类型限制并移除composite检查
2026-04-21 17:04:42 +08:00
wwq
eb98a69a84
fix(知识服务): 修复创建知识库时未检查视觉模型存在的错误
...
当租户下没有可用的视觉模型时,抛出明确异常提示
2026-04-21 16:50:43 +08:00
wwq
152a84aff3
refactor(knowledge_service): 优化模型绑定逻辑,使用ID查询并简化回退机制
...
将模型绑定逻辑从按名称查询改为按ID查询,提高准确性
简化回退机制,直接查询租户下最新创建的模型
统一处理图像转文本模型的查询方式
2026-04-21 16:45:14 +08:00
yingzhao
c5c8be89ed
Merge pull request #955 from SuanmoSuanyangTechnology/fix/v0.3.1_zy
...
fix(web): package support unlimited
2026-04-21 15:54:08 +08:00
zhaoying
30aed72b74
fix(web): package support unlimited
2026-04-21 15:48:24 +08:00
山程漫悟
35c2d9d0d3
Merge pull request #950 from SuanmoSuanyangTechnology/fix/wxy_031
...
feat(model_parsing): add model reference resolution for LLM and relat…
2026-04-21 15:09:49 +08:00