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

@ -602,13 +602,14 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
cancel: 'Cancel',
addedModels: 'Added models',
modelsToBeAdded: 'Models to be added',
addTheModel: 'Add the model',
addTheModel: 'Add Model',
apiKey: 'API-Key',
apiKeyMessage:
'Please enter the API key (for locally deployed model,ignore this).',
apiKeyTip:
'The API key can be obtained by registering the corresponding LLM supplier.',
showMoreModels: 'Show more models',
showMoreModels: 'View Models',
hideModels: 'Hide Models',
baseUrl: 'Base-Url',
baseUrlTip:
'If your API key is from OpenAI, just ignore it. Any other intermediate providers will give this base url with the API key.',
@ -634,6 +635,8 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
workspace: 'Workspace',
upgrade: 'Upgrade',
addLlmTitle: 'Add LLM',
editLlmTitle: 'Edit {{name}} Model',
editModel: 'Edit Model',
modelName: 'Model name',
modelID: 'Model ID',
modelUid: 'Model UID',