Commit Graph

1069 Commits

Author SHA1 Message Date
孙安智 c6dbe334e9 Merge branch 'feature/sunanzhi/1.6' into 'main'
refactor: adjust model_runtime structure of provider model

See merge request apipark/APIPark!244
2025-03-07 18:43:45 +08:00
sunanzhi a8c842b8d0 refactor: adjust model_runtime structure of provider model 2025-03-07 18:32:20 +08:00
孙安智 95e34f0b73 Merge branch 'feature/sunanzhi/1.6' into 'main'
fix: resolve build failure due to unused model variable

See merge request apipark/APIPark!243
2025-03-07 15:09:25 +08:00
sunanzhi 69fd1b915b fix: resolve build failure due to unused model variable 2025-03-07 15:08:50 +08:00
孙安智 7483455bb8 Merge branch 'feature/sunanzhi/1.6' into 'main'
fix: resolve null pointer due to empty validator and comment out release model code

See merge request apipark/APIPark!242
2025-03-07 14:58:33 +08:00
sunanzhi 77e6f100b7 fix: resolve null pointer due to empty validator and comment out release model code 2025-03-07 14:56:54 +08:00
孙安智 6dae2e7068 Merge branch 'feature/sunanzhi/1.6' into 'main'
fix: resolve error caused by fetching empty vendor config model

See merge request apipark/APIPark!241
2025-03-07 14:33:49 +08:00
sunanzhi d3bd782165 fix: resolve error caused by fetching empty vendor config model 2025-03-07 14:33:23 +08:00
lichunxian b49782c7b4 Merge branch 'feature/1.6-cx' into 'main'
feat: feature/1.6-Integrate custom model

See merge request apipark/APIPark!240
2025-03-07 14:24:57 +08:00
ningyv 8ca8d51025 feat: feature/1.6-Integrate custom model 2025-03-07 14:24:14 +08:00
孙安智 f8affd2f29 Merge branch 'feature/sunanzhi/1.6' into 'main'
fix: resolve package error when LLMs list is empty

See merge request apipark/APIPark!239
2025-03-07 14:14:53 +08:00
sunanzhi 3d4e2c3165 fix: resolve package error when LLMs list is empty 2025-03-07 14:07:53 +08:00
孙安智 7cca06377c Merge branch 'feature/sunanzhi/1.6' into 'main'
fix: fix null pointer in unconfigured provider fetch, add model name to list

See merge request apipark/APIPark!238
2025-03-07 11:41:31 +08:00
sunanzhi 22f15f5cbf fix: fix null pointer in unconfigured provider fetch, add model name to list 2025-03-07 11:38:14 +08:00
孙安智 fb71498e6a Merge branch 'feature/sunanzhi/1.6' into 'main'
feat: add API endpoint to retrieve model configuration template

See merge request apipark/APIPark!237
2025-03-07 11:16:33 +08:00
sunanzhi bc16d7f5ce feat: add API endpoint to retrieve model configuration template
Introduce a new interface for fetching model configuration templates to enhance model management flexibility.
2025-03-07 11:15:49 +08:00
lichunxian 62bc87e251 Merge branch 'feature/1.6-cx' into 'main'
feat: feature/1.6-Integrate custom model

See merge request apipark/APIPark!236
2025-03-07 11:06:38 +08:00
ningyv b1f010ad60 feat: feature/1.6-Integrate custom model 2025-03-07 11:05:53 +08:00
sunanzhi 8e4a3fc42b Merge pull request #226 from APIParkLab/feature/sunanzhi/1.6
Feature/sunanzhi/1.6
2025-03-07 09:27:39 +08:00
孙安智 bf08952fe0 Merge branch 'feature/sunanzhi/1.6' into 'main'
Add support for creating online models and integrating custom model providers

See merge request apipark/APIPark!235
2025-03-07 09:26:32 +08:00
sunanzhi 51792a8eda Merge branch 'main' of https://github.com/APIParkLab/APIPark into feature/sunanzhi/1.6
# Conflicts:
#	.gitignore
2025-03-06 18:33:21 +08:00
dashenbibi dd4fdd8de3 Merge pull request #225 from APIParkLab/feature/dashen/model_mapping
Feature/dashen/model mapping
2025-03-06 18:27:32 +08:00
sunanzhi b9f6abc9b3 Add support for creating online models and integrating custom model providers 2025-03-06 17:42:17 +08:00
lichunxian 4ca4d9fd82 Merge branch 'feature/1.6-cx' into 'main'
feat: feature/1.6-Integrate custom model

See merge request apipark/APIPark!234
2025-03-06 16:17:17 +08:00
ningyv 1ed05b96b4 feat: feature/1.6-Integrate custom model 2025-03-06 16:16:20 +08:00
lichunxian e9b7cb505d Merge branch 'feature/1.6-cx' into 'main'
feat: feature/1.6-Integrate custom model

See merge request apipark/APIPark!233
2025-03-06 11:34:50 +08:00
ningyv a7f1da85b1 Merge remote-tracking branch 'origin/main' into feature/1.6-cx 2025-03-06 11:31:29 +08:00
ningyv 59c0bfe3f5 feat: feature/1.6-Integrate custom model 2025-03-06 11:07:58 +08:00
李业昌 f893819f32 Merge branch 'feature/dashen/model_mapping' into 'main'
Feature/dashen/model mapping

See merge request apipark/APIPark!231
2025-03-05 10:50:06 +08:00
2944321442@qq.com 8c40e1cf05 .gitignore 2025-03-05 10:49:22 +08:00
2944321442@qq.com afb9cc2e44 feat:update .gitignore 2025-03-05 10:44:19 +08:00
2944321442@qq.com 8e854adaa3 feat:update .gitignore 2025-03-05 10:43:20 +08:00
2944321442@qq.com 860874ef5c feat:添加服务模型映射功能 2025-03-05 10:15:05 +08:00
2944321442@qq.com 4b263c1e7a Merge branch 'main' into feature/dashen/model_mapping 2025-03-05 10:15:00 +08:00
2944321442@qq.com eaeae88f04 feat: add service model mapping configuration 2025-03-04 15:19:27 +08:00
ningyv 7a84c5aec3 Merge pull request #222 from APIParkLab/feature/1.5-cx
fix: homepage Permission Configuration
2025-03-03 14:21:16 +08:00
lichunxian 1d91f9e78c Merge branch 'feature/1.5-cx' into 'main'
Feature/1.5 cx

See merge request apipark/APIPark!230
2025-03-03 14:20:46 +08:00
ningyv 1a8538b617 fix: homepage Permission Configuration 2025-03-03 14:20:20 +08:00
ningyv ddd1d662b1 Merge pull request #221 from APIParkLab/feature/1.5-cx
fix: homepage Permission Configuration
2025-03-03 14:15:27 +08:00
ningyv c56319d1c2 fix: homepage Permission Configuration 2025-03-03 14:14:20 +08:00
ningyv d489912705 Merge pull request #220 from APIParkLab/feature/1.6
fix: service configuration LLM API error
2025-03-03 09:51:49 +08:00
ningyv f95437ad1a fix: service configuration LLM API error 2025-03-03 09:51:14 +08:00
ningyv 04bbac1252 Merge pull request #212 from APIParkLab/feature/1.5-cx
feat: feature/1.5-Data Integration
2025-02-20 18:36:42 +08:00
lichunxian f058f2bc71 Merge branch 'feature/1.5-cx' into 'main'
feat: feature/1.5-Data Integration

See merge request apipark/APIPark!229
2025-02-20 18:36:14 +08:00
ningyv aa873f75f2 feat: feature/1.5-Data Integration 2025-02-20 18:35:26 +08:00
Dot.L 70de481b52 Merge pull request #211 from APIParkLab/feature/1.5-local-model
This pull request includes several changes aimed at improving error handling, adding new functionalities, and refactoring existing code. The changes primarily focus on the AI provider and controller modules.

Error Handling Improvements:
Added checks to ensure the client is initialized before performing operations in multiple functions (PullModel, StopPull, CancelPipeline, RemoveModel, ModelsInstalled) in ai-provider/local/executor.go. [1] [2] [3] [4]
New Functionalities:
Introduced OllamaConfig and OllamaConfigUpdate methods to the ILocalModelController interface and implemented them in controller/ai-local/iml.go. These methods allow for getting and updating the Ollama configuration. [1] [2]
Added functionality to automatically subscribe all applications to new services in the Create method of controller/service/iml.go.
Refactoring:
Refactored the initialization of the Ollama client by replacing the static address with a ResetOllamaAddress function in ai-provider/local/local.go.
Removed unused code and imports, such as the newAIUpstream function and upstream_dto import in controller/service/iml.go. [1] [2]
Codebase Simplification:
Simplified the OnInit method in controller/system/iml.go by consolidating the creation of default entities and adding subscription logic. [1] [2] [3]
Additional Changes:
Added new imports and modules to support the new functionalities and refactoring efforts. [1] [2] [3]
2025-02-20 14:31:31 +08:00
刘健 b41e8bbb8c Merge branch 'feature/1.5-local-model' into 'main'
Feature/1.5 local model

See merge request apipark/APIPark!228
2025-02-20 14:25:08 +08:00
Liujian 17f700c77d Fix: Failure to update local model configuration to gateway 2025-02-20 14:24:39 +08:00
ningyv 89b4a51774 Merge pull request #210 from APIParkLab/feature/1.5-cx
feat: feature/1.5-Data Integration
2025-02-20 14:20:59 +08:00
lichunxian 92627b0a69 Merge branch 'feature/1.5-cx' into 'main'
feat: feature/1.5-Data Integration

See merge request apipark/APIPark!227
2025-02-20 14:20:14 +08:00