Spaces:
Paused
Paused
Commit History
-
"fix_deep_stream_interrupted_and_timeout"
378caa6
-
"fix_retry_timeout_for_cloudflare_524"
25bce68 -
"fix_backend_retry_logic"
dbb1ef4 -
"fix_frontend_image_compression"
81934c5
-
fix: 修复 /auth/config.js 端点缺少 g_config 导入的问题
9de587b -
fix: 恢复前端 API 密钥端点供内置 Web UI 使用
b759462 -
feat: 实现反检测速率限制器,模拟人类行为模式避免被 Google 封禁
4e293c6 -
feat: 实现智能速率限制器,支持自适应超时、队列管理和监控指标
6b2240a -
fix: 修复速率限制器死锁风险、临时文件清理兼容性和图片目录初始化问题
d4a9626 -
Merge branch 'main' of https://huggingface.co/spaces/superxu520/G_AI
4647ed2 -
fix(P0/P1/P2): 添加 Cookie 持久化、临时文件清理、速率限制和移除 API 密钥暴露
de8b836
-
Update config/config.yaml
Verified signature84a326a -
Update config/config.yaml
Verified signature385751e -
update: 同步最新代码与配置
b2c2a89
-
update: 更新配置
917fdb0 -
fix: 支持通过环境变量 PORT 覆盖端口,兼容 HuggingFace Spaces
f550b30 -
update: 更新配置
3a7b29c -
update: 更新聊天服务、客户端连接池和辅助工具
ac10cac
-
update: 更新 Gemini 认证凭据
abdee84 -
update: 更新前端样式、模型、聊天服务和客户端代码
f234f8e
-
更新 config.yaml 中的会话凭证
75bf965 -
修复流式输出错乱问题
b93f165
-
fix: pre-create data directory and set ownership to fix permission error on HF Spaces
fe067bc -
update project configuration
4c1d78e -
终极代码
0c0c606 -
更新requirements
126bf31 -
更新requirements
ea333ab -
更新requirements
d439f56 -
feat: integrate frontend with health monitoring and align with upstream
ebd8962 -
:arrow_up: update gemini-webapi to 1.18.1 (#97)
github-actions[bot] +1: Nativu5Unverified signatureCo-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com>dbb15be -
:bug: Update function call format to avoid potential leak issues (#96)
Lưu Quang VũUnverified signature* Remove the unused auto-refresh functionality and related imports. They are no longer needed since the underlying library issue has been resolved. * Enhance error handling in client initialization and message sending * Refactor link handling to extract file paths and simplify Google search links * Fix regex pattern for Google search link matching * Fix regex patterns for Markdown escaping, code fence and Google search link matching * Increase timeout value in configuration files from 60 to 120 seconds to better handle heavy tasks * Fix Image generation * Refactor tool handling to support standard and image generation tools separately * Fix: use "ascii" decoding for base64-encoded image data consistency * Fix: replace `running` with `_running` for internal client status checks * Refactor: replace direct `_running` access with `running()` method in client status checks * Extend models with new fields for annotations, reasoning, audio, log probabilities, and token details; ad…7fdfe87
-
:sparkles: Enable real-time streaming responses and completely solve the issue with reusable sessions. (#95)
Lưu Quang VũUnverified signature* Remove the unused auto-refresh functionality and related imports. They are no longer needed since the underlying library issue has been resolved. * Enhance error handling in client initialization and message sending * Refactor link handling to extract file paths and simplify Google search links * Fix regex pattern for Google search link matching * Fix regex patterns for Markdown escaping, code fence and Google search link matching * Increase timeout value in configuration files from 60 to 120 seconds to better handle heavy tasks * Fix Image generation * Refactor tool handling to support standard and image generation tools separately * Fix: use "ascii" decoding for base64-encoded image data consistency * Fix: replace `running` with `_running` for internal client status checks * Refactor: replace direct `_running` access with `running()` method in client status checks * Extend models with new fields for annotations, reasoning, audio, log probabilities, and token details; ad…7db4283
-
refactor: Optimize performance by reducing token usage and speed up model response time. (#89)
Lưu Quang VũUnverified signature* Remove the unused auto-refresh functionality and related imports. They are no longer needed since the underlying library issue has been resolved. * Enhance error handling in client initialization and message sending * Refactor link handling to extract file paths and simplify Google search links * Fix regex pattern for Google search link matching * Fix regex patterns for Markdown escaping, code fence and Google search link matching * Increase timeout value in configuration files from 60 to 120 seconds to better handle heavy tasks * Fix Image generation * Refactor tool handling to support standard and image generation tools separately * Fix: use "ascii" decoding for base64-encoded image data consistency * Fix: replace `running` with `_running` for internal client status checks * Refactor: replace direct `_running` access with `running()` method in client status checks * Extend models with new fields for annotations, reasoning, audio, log probabilities, and token details; ad…f8272eb
-
feat: Add support for custom Gemini models and model loading strategies (#86)
Lưu Quang VũUnverified signature* feat: Add support for custom Gemini models and model loading strategies - Introduced `model_strategy` configuration for "append" (default + custom models) or "overwrite" (custom models only). - Enhanced `/v1/models` endpoint to return models based on the configured strategy. - Improved model loading with environment variable overrides and validation. - Refactored model handling logic for improved modularity and error handling. * feat: Improve Gemini model environment variable parsing and nested field support - Enhanced `extract_gemini_models_env` to handle nested fields within environment variables. - Updated type hints for more flexibility in model overrides. - Improved `_merge_models_with_env` to better support field-level updates and appending new models. * refactor: Consolidate utility functions and clean up unused code - Moved utility functions like `strip_code_fence`, `extract_tool_calls`, and `iter_stream_segments` to a centralized helper module. - Removed unused and redu…a583ded
-
:arrow_up: update gemini-webapi to 1.17.3 (#77)
github-actions[bot] +1: Nativu5Unverified signatureCo-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com>79b9136
-
:sparkles: Update the /v1/responses endpoint (#75)
Lưu Quang VũUnverified signature* Remove the unused auto-refresh functionality and related imports. They are no longer needed since the underlying library issue has been resolved. * Enhance error handling in client initialization and message sending * Refactor link handling to extract file paths and simplify Google search links * Fix regex pattern for Google search link matching * Fix regex patterns for Markdown escaping, code fence and Google search link matching * Increase timeout value in configuration files from 60 to 120 seconds to better handle heavy tasks * Fix Image generation * Refactor tool handling to support standard and image generation tools separately * Fix: use "ascii" decoding for base64-encoded image data consistency * Fix: replace `running` with `_running` for internal client status checks * Refactor: replace direct `_running` access with `running()` method in client status checks * Extend models with new fields for annotations, reasoning, audio, log probabilities, and token details; ad…5cb387e
-
:sparkles: Optimize Response API, Link Handling, and Add File Upload Support (#73)
Lưu Quang VũUnverified signature* Remove the unused auto-refresh functionality and related imports. They are no longer needed since the underlying library issue has been resolved. * Enhance error handling in client initialization and message sending * Refactor link handling to extract file paths and simplify Google search links * Fix regex pattern for Google search link matching * Fix regex patterns for Markdown escaping, code fence and Google search link matching * Increase timeout value in configuration files from 60 to 120 seconds to better handle heavy tasks * Fix Image generation * Refactor tool handling to support standard and image generation tools separately * Fix: use "ascii" decoding for base64-encoded image data consistency * Fix: replace `running` with `_running` for internal client status checksff54322 -
:arrow_up: update gemini-webapi to 1.17.2 (#71)
github-actions[bot] +1: Nativu5Unverified signatureCo-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com>be38b4c
-
:white_check_mark: Skip Docker build for markdown and workflow-only changes (#69)
Copilot +2: copilot-swe-agent[bot], Nativu5Unverified signature* Initial plan * Add paths-ignore filter to skip Docker builds for *.md and .github/workflows changes Co-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com> * Update paths-ignore pattern from **.md to **/*.md for better clarity Co-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com> * Fix paths-ignore to allow docker.yaml changes and fix uv pip show in track.yml Co-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com>57051c9
-
:white_check_mark: Fix CI to only track gemini-webapi version updates (#68)
Copilot +2: copilot-swe-agent[bot], Nativu5Unverified signature* Initial plan * Fix CI to only track gemini-webapi version updates Co-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com> * Remove unnecessary git checkout (runner is ephemeral) Co-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com>a0f3562
-
:arrow_up: update gemini-webapi to 1.17.1 (#66)
github-actions[bot] +1: Nativu5Unverified signatureCo-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com>e6654a9
-
:arrow_up: Update gemini-webapi to 1.17.1 (#64)
github-actions[bot] +1: Nativu5Unverified signatureCo-authored-by: Nativu5 <44155313+Nativu5@users.noreply.github.com>d59e4a2 -
:white_check_mark: Add CI for tracking upstream (#63)
Yongkun LiUnverified signature* :white_check_mark: Add auto updating CI * :white_check_mark: Add robust extraction * :white_check_mark: Add robust extraction * :white_check_mark: Add robust extraction6fdc271
-
:sparkles: Add proxy support and fix bugs (#56)
Yongkun Li +1: Lưu Quang VũUnverified signature* Add tool_calls support * Add tool_calls support * Add tool_calls support * Add tool_calls support * Add tool_calls support * Add endpoint generate and edit images * Add endpoint generate and edit images * Add support structured output * Add support structured output * Incorrect logging * Force LLM to follow tool_call format * Format the code using Black. * Fixes "Error handling message: No image returned" * Return image dimensions * Fixes Pylance warning * Format by ruff * uv run directly * Fixes XML_WRAP_HINT leaked * Instruct an LLM to return code snippets enclosed within Markdown fenced code blocks. * Adjust the streaming response logic to ensure important sections remain intact and are not fragmented. * Change chunk_size to 64 * ruff check * Fixes for im_start/im_end hints leaking from responses. * Ensure all endpoints are fully compliant with OpenAI compatibility standards. * :memo: Fix doc * Add a retention_days option to schedule database cleanup. - F…ce9e9da -
:arrow_up: Update gemini_webapi to support Gemini 3.0 Pro (#55)
Yongkun LiUnverified signature32d1789
-
:sparkles: Fix bugs and add an option to schedule database cleanup. (#49)
Lưu Quang Vũ +1: Nativu5Unverified signature* Add tool_calls support * Add tool_calls support * Add tool_calls support * Add tool_calls support * Add tool_calls support * Add endpoint generate and edit images * Add endpoint generate and edit images * Add support structured output * Add support structured output * Incorrect logging * Force LLM to follow tool_call format * Format the code using Black. * Fixes "Error handling message: No image returned" * Return image dimensions * Fixes Pylance warning * Format by ruff * uv run directly * Fixes XML_WRAP_HINT leaked * Instruct an LLM to return code snippets enclosed within Markdown fenced code blocks. * Adjust the streaming response logic to ensure important sections remain intact and are not fragmented. * Change chunk_size to 64 * ruff check * Fixes for im_start/im_end hints leaking from responses. * Ensure all endpoints are fully compliant with OpenAI compatibility standards. * :memo: Fix doc * Add a retention_days option to schedule database cleanup. - F…68b21f6
-
:sparkles: Add tool call support and fix image input and output (#47)
Lưu Quang Vũ +1: Nativu5Unverified signature* Add tool_calls support * Add tool_calls support * Add tool_calls support * Add tool_calls support * Add tool_calls support * Add endpoint generate and edit images * Add endpoint generate and edit images * Add support structured output * Add support structured output * Incorrect logging * Force LLM to follow tool_call format * Format the code using Black. * Fixes "Error handling message: No image returned" * Return image dimensions * Fixes Pylance warning * Format by ruff * uv run directly * Fixes XML_WRAP_HINT leaked * Instruct an LLM to return code snippets enclosed within Markdown fenced code blocks. * Adjust the streaming response logic to ensure important sections remain intact and are not fragmented. * Change chunk_size to 64 * ruff check * Fixes for im_start/im_end hints leaking from responses. * Ensure all endpoints are fully compliant with OpenAI compatibility standards. * :memo: Fix doc --------- Co-authored-by: Nativu5 <44155313+Nativu5@users.norep…77830e0
-
:white_check_mark: Limit Ruff workflow triggers (#48)
Yongkun LiUnverified signaturefe5ae62
-
:arrow_up: Sync with upstream (#45)
Yongkun LiUnverified signature0eae2f4
-
:wrench: Fix default https config (#42)
Yongkun LiUnverified signaturebc4aba2