[PR #312] [CLOSED] fix: add global config #332

Closed
opened 2026-02-27 07:18:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/312
Author: @zhoukekestar
Created: 2/7/2026
Status: Closed

Base: mainHead: main


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 src/providers/provider-pool-manager.js (+1 -0)

📄 Description

904d2af52e687a9a0e4d7438416efd29

当前 config 对象仅有 provider 的相关配置,缺少全局 config,导致相关 Service(GeminiApiService) 初始化时,无法读取相关配置,比如:PROXY_URL,进而对相关配置失效。

The current config object only contains provider-specific settings and is missing the global configuration. This prevents Service( GeminiApiService ) from accessing global variables like PROXY_URL during initialization, causing those settings to fail.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/justlovemaki/AIClient-2-API/pull/312 **Author:** [@zhoukekestar](https://github.com/zhoukekestar) **Created:** 2/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`7712df8`](https://github.com/justlovemaki/AIClient-2-API/commit/7712df83321314ebd0f7fe20501888d6522af154) fix: add global config ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/providers/provider-pool-manager.js` (+1 -0) </details> ### 📄 Description <img width="2304" height="1350" alt="904d2af52e687a9a0e4d7438416efd29" src="https://github.com/user-attachments/assets/14f3cd57-c2c4-4e47-9d24-e746e2d105e7" /> 当前 config 对象仅有 provider 的相关配置,缺少全局 config,导致相关 Service(GeminiApiService) 初始化时,无法读取相关配置,比如:PROXY_URL,进而对相关配置失效。 The current config object only contains provider-specific settings and is missing the global configuration. This prevents Service( GeminiApiService ) from accessing global variables like PROXY_URL during initialization, causing those settings to fail. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:59 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#332
No description provided.