Feat: Add model editing functionality with improved UI labels (#8855)

### What problem does this PR solve?

Add edit button for local LLM models
<img width="1531" height="1428" alt="image"
src="https://github.com/user-attachments/assets/19d62255-59a6-4a7e-9772-8b8743101f78"
/>

<img width="1531" height="1428" alt="image"
src="https://github.com/user-attachments/assets/c3a0f77e-cc6b-4190-95a6-13835463428b"
/>



### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):

---------

Co-authored-by: Liu An <asiro@qq.com>
This commit is contained in:
Adrian Altermatt
2025-07-21 13:16:53 +02:00
committed by GitHub
parent dbc267758e
commit 6691532079
15 changed files with 197 additions and 30 deletions

View File

@ -609,6 +609,7 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
apiKeyMessage: '请输入api key如果是本地部署的模型请忽略它',
apiKeyTip: 'API key可以通过注册相应的LLM供应商来获取。',
showMoreModels: '展示更多模型',
hideModels: '隐藏模型',
baseUrl: 'Base-Url',
baseUrlTip:
'如果您的 API 密钥来自 OpenAI请忽略它。 任何其他中间提供商都会提供带有 API 密钥的基本 URL。',
@ -633,6 +634,8 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
workspace: '工作空间',
upgrade: '升级',
addLlmTitle: '添加 LLM',
editLlmTitle: '编辑 {{name}} 模型',
editModel: '编辑模型',
modelName: '模型名称',
modelID: '模型ID',
modelUid: '模型UID',