Commit Graph

976 Commits

Author SHA1 Message Date
sunanzhi 56289058fc 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
sunanzhi b8e9b87c88 Merge pull request #226 from APIParkLab/feature/sunanzhi/1.6
Feature/sunanzhi/1.6
2025-03-07 09:27:39 +08:00
sunanzhi 00061bbf19 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 f95f28cd67 Merge pull request #225 from APIParkLab/feature/dashen/model_mapping
Feature/dashen/model mapping
2025-03-06 18:27:32 +08:00
sunanzhi eca864a80b Add support for creating online models and integrating custom model providers 2025-03-06 17:42:17 +08:00
2944321442@qq.com c7f561a55d .gitignore 2025-03-05 10:49:22 +08:00
2944321442@qq.com 30bead497e feat:update .gitignore 2025-03-05 10:44:19 +08:00
2944321442@qq.com 34ecd56cc4 feat:update .gitignore 2025-03-05 10:43:20 +08:00
2944321442@qq.com e4b46ea2e2 feat:添加服务模型映射功能 2025-03-05 10:15:05 +08:00
2944321442@qq.com 9e520be8b5 Merge branch 'main' into feature/dashen/model_mapping 2025-03-05 10:15:00 +08:00
2944321442@qq.com 2f7db1c871 feat: add service model mapping configuration 2025-03-04 15:19:27 +08:00
ningyv 0aa526b6d4 Merge pull request #222 from APIParkLab/feature/1.5-cx
fix: homepage Permission Configuration
2025-03-03 14:21:16 +08:00
ningyv 9c54fec65e fix: homepage Permission Configuration 2025-03-03 14:20:20 +08:00
ningyv 9315a5de4c Merge pull request #221 from APIParkLab/feature/1.5-cx
fix: homepage Permission Configuration
2025-03-03 14:15:27 +08:00
ningyv e09d35ec53 fix: homepage Permission Configuration 2025-03-03 14:14:20 +08:00
ningyv 07c904be75 Merge pull request #220 from APIParkLab/feature/1.6
fix: service configuration LLM API error
2025-03-03 09:51:49 +08:00
ningyv c2c6f2b3f6 fix: service configuration LLM API error 2025-03-03 09:51:14 +08:00
ningyv 0a3fdd61c8 Merge pull request #212 from APIParkLab/feature/1.5-cx
feat: feature/1.5-Data Integration
2025-02-20 18:36:42 +08:00
ningyv d424b68b2b feat: feature/1.5-Data Integration 2025-02-20 18:35:26 +08:00
Dot.L 3c29a0a5c6 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]
v1.5.0-beta
2025-02-20 14:31:31 +08:00
Liujian 6eaa946be6 Fix: Failure to update local model configuration to gateway 2025-02-20 14:24:39 +08:00
ningyv 06aa17d0c3 Merge pull request #210 from APIParkLab/feature/1.5-cx
feat: feature/1.5-Data Integration
2025-02-20 14:20:59 +08:00
ningyv 94503a4ab6 feat: feature/1.5-Data Integration 2025-02-20 14:19:34 +08:00
ningyv 718f37e0da Merge pull request #209 from APIParkLab/feature/1.5-cx
feat: feature/1.5-Data Integration
2025-02-20 13:52:50 +08:00
ningyv 587eec4f15 feat: feature/1.5-Data Integration 2025-02-20 13:51:53 +08:00
ningyv e760ce953b Merge pull request #208 from APIParkLab/feature/1.5-cx
feat: feature/1.5-Data Integration
2025-02-20 11:37:47 +08:00
ningyv 5759195b23 feat: feature/1.5-Data Integration 2025-02-20 11:36:34 +08:00
Liujian dcf18705da Merge remote-tracking branch 'github-pro/main' into feature/1.5-local-model 2025-02-19 19:51:32 +08:00
Liujian 61ae37d3d9 fix: ai balance bug 2025-02-19 19:18:17 +08:00
ningyv 10488a6308 Merge pull request #207 from APIParkLab/feature/1.5-cx
Feature/1.5 cx
2025-02-19 18:41:45 +08:00
ningyv bd4ad2bac8 feat: feature/1.5-Data Integration 2025-02-19 18:19:17 +08:00
Liujian b55d68ed39 Fix: Issue of failed update service 2025-02-19 17:58:20 +08:00
ningyv 6b9df8c5e9 feat: feature/1.5-Data Integration 2025-02-19 17:56:46 +08:00
Liujian 273f9ace58 Add model information field to service information 2025-02-19 17:24:12 +08:00
ningyv bb1371090c feat: feature/1.5-Data Integration 2025-02-19 16:05:19 +08:00
Liujian e8887c1454 Fix: Issue where the service status is not updated after the local model download is completed 2025-02-19 10:57:39 +08:00
Liujian 7cc4a92015 Merge remote-tracking branch 'origin/feature/1.5-cx' into feature/1.5-local-model 2025-02-19 10:27:11 +08:00
ningyv 4c35a51f64 feat: feature/1.5-Data Integration 2025-02-19 10:23:16 +08:00
Liujian 2a977b37d4 Merge remote-tracking branch 'origin/feature/1.5-cx' into feature/1.5-local-model 2025-02-19 10:13:55 +08:00
ningyv 0b6aa6b343 feat: feature/1.5-Data Integration 2025-02-19 09:34:09 +08:00
ningyv 1218ac43f8 feat: feature/1.5-Data Integration 2025-02-19 09:27:10 +08:00
ningyv 04a5da862f feat: feature/1.5-Data Integration 2025-02-18 21:55:58 +08:00
ningyv 66d0653dc6 feat: feature/1.5-Data Integration 2025-02-18 19:51:28 +08:00
Liujian f356df7f74 Merge remote-tracking branch 'origin/feature/1.5-cx' into feature/1.5-local-model 2025-02-18 18:06:32 +08:00
ningyv 4390e9767c fix: route handling does not work on page reload 2025-02-18 16:00:12 +08:00
Liujian e9b40d8b27 add api: get/set ollama api address 2025-02-18 15:42:57 +08:00
Dot.L 3b1c9d9f67 Merge pull request #205 from APIParkLab/feature/1.5-local-model
Feature/1.5 local model
2025-02-18 10:24:34 +08:00
Liujian 1011302721 fix: cancel deploy error 2025-02-18 10:20:33 +08:00
ningyv 55e9744321 Merge pull request #204 from APIParkLab/feature/1.5-cx
feat: feature/1.5-Data Integration
2025-02-18 10:18:17 +08:00
ningyv 0481d42929 feat: feature/1.5-Data Integration 2025-02-18 10:08:20 +08:00