Commit Graph

  • b7d6ae1b48 Windows build instructions kaixxx 2025-09-12 01:12:51 +02:00
  • aacfcae382 Codex CLI - setting 'store = false' kaixxx 2025-09-12 00:59:49 +02:00
  • 1c92034191 Implement IP-based rate limiting and ban mechanism for management API Luis Pater 2025-09-12 03:00:37 +08:00
  • ef8820e4e4 Default tokenType to an empty string instead of "gemini" in watcher.go and run.go. v5.1.22 Luis Pater 2025-09-11 21:09:27 +08:00
  • 35daffdb2f Ensure auth directory existence before processing tokens in run.go v5.1.21 Luis Pater 2025-09-11 18:03:42 +08:00
  • 0983119ae2 Remove API key truncation in Gemini client ID generation v5.1.20 Luis Pater 2025-09-11 10:22:42 +08:00
  • 0371062e86 Normalize select to STRING type in Gemini OpenAI request outputs v5.1.19 Luis Pater 2025-09-10 23:54:16 +08:00
  • 74bae32c83 Filter OpenAI models response to include only essential fields (id, object, created, owned_by). v5.1.18 Luis Pater 2025-09-10 17:50:33 +08:00
  • 4e67cd4baf Resolve relative logsDir to executable directory in FileRequestLogger v5.1.17 Luis Pater 2025-09-10 03:15:58 +08:00
  • 0449fefa60 Enhance OAuth handling for Anthropic, Codex, Gemini, and Qwen tokens v5.1.16 Luis Pater 2025-09-10 02:34:22 +08:00
  • 156e3b017d Restrict management key validation to non-localhost requests only Luis Pater 2025-09-09 23:04:46 +08:00
  • d4dc7b0a34 Merge pull request #39 from luispater/config_hash Luis Pater 2025-09-09 09:26:34 +08:00
  • ebf2a26e72 Avoid unnecessary config.yaml reloads via hash check hkfires 2025-09-09 09:11:57 +08:00
  • 545dff8b64 Add OAuth support for Gemini CLI, Claude, Codex, and Qwen authentication Luis Pater 2025-09-09 02:22:58 +08:00
  • 7353bc0b2b Fix bug: #38 about lobechat cors policy v5.1.15 Luis Pater 2025-09-08 23:36:43 +08:00
  • 99c9f3069c Fixed bug #38 v5.1.14 Luis Pater 2025-09-08 22:36:44 +08:00
  • f9f2333997 Fix model name update during quota check to avoid incorrect logging v5.1.13 Luis Pater 2025-09-08 22:17:21 +08:00
  • 179b8aa88f Merge pull request #36 from luispater/ssh-tunnel Luis Pater 2025-09-08 09:16:52 +08:00
  • 040d66f0bb Add SSH tunnel guidance for login fallback hkfires 2025-09-08 09:01:15 +08:00
  • c875088be2 Add dynamic log level adjustment and "type" field to auth files response v5.1.12 Luis Pater 2025-09-08 01:09:39 +08:00
  • 46fa32f087 Update log level in OpenURL function from Debug to Info Luis Pater 2025-09-07 21:28:10 +08:00
  • 551bc1a4a8 Enhance README formatting and update .dockerignore v5.1.11 Luis Pater 2025-09-07 12:26:08 +08:00
  • 1305f2f6dc Merge pull request #33 from luispater/docker Luis Pater 2025-09-07 12:11:15 +08:00
  • 2a2a276e3b Update README hkfires 2025-09-07 11:58:43 +08:00
  • 5aba4ca1b1 Refactor docker-compose config for simplicity and consistency hkfires 2025-09-07 11:35:54 +08:00
  • 47b5ebfc43 Modify docker compose for remote image and local build hkfires 2025-09-07 10:39:29 +08:00
  • 1bb0d11f62 Update README hkfires 2025-09-07 09:36:27 +08:00
  • 6164f5c35b Add JSON annotations to configuration structs and new /config management endpoint Luis Pater 2025-09-06 20:45:51 +08:00
  • c263398423 Add Telegram group link to Chinese README for user support Luis Pater 2025-09-06 15:56:28 +08:00
  • ef922b29c2 Update workflows and build process for enhanced metadata injection v5.1.10 Luis Pater 2025-09-06 15:37:48 +08:00
  • d10ef7b58a Merge pull request #31 from luispater/docker-build-sh Luis Pater 2025-09-06 15:28:58 +08:00
  • e074e957d1 Update README hkfires 2025-09-06 10:24:48 +08:00
  • 7b546ea2ee build(goreleaser): inject build metadata into binary during release hkfires 2025-09-06 10:13:48 +08:00
  • 506e2e12a6 feat(server): inject build metadata into application logs and container image hkfires 2025-09-06 09:41:27 +08:00
  • c52255e2a4 Merge branch 'dev' Luis Pater 2025-09-05 23:05:03 +08:00
  • b05d00ede9 Add versioning support to build artifacts and log outputs v5.1.9 Luis Pater 2025-09-05 22:53:49 +08:00
  • 8d05489973 Add versioning support to build artifacts and log outputs Luis Pater 2025-09-05 22:53:49 +08:00
  • 4f18809500 Merge pull request #29 from luispater/bugfix Luis Pater 2025-09-05 21:48:30 +08:00
  • 28218ec550 feat(api): implement granular client type metrics in server updates hkfires 2025-09-05 19:26:57 +08:00
  • f97954c811 fix(watcher): enhance API key client counting and logging hkfires 2025-09-05 18:02:45 +08:00
  • 798f65b35e Merge pull request #28 from luispater/bugfix Luis Pater 2025-09-05 15:20:27 +08:00
  • 57484b97bb fix(watcher): improve client reload logic and prevent redundant updates hkfires 2025-09-05 13:53:15 +08:00
  • 0e0602c553 refactor(watcher): restructure client management and API key handling hkfires 2025-09-05 13:25:30 +08:00
  • 54ffb52838 Add FunctionCallIndex to ConvertCliToOpenAIParams and enhance tool call handling v5.1.8 Luis Pater 2025-09-05 09:02:24 +08:00
  • c62e45ee88 Add Codex API key support and Gemini 2.5 Flash-Lite model documentation updates Luis Pater 2025-09-04 18:23:52 +08:00
  • 56a05d2cce Merge pull request #26 from luispater/flash-lite v5.1.7 Luis Pater 2025-09-04 16:11:43 +08:00
  • 3e09bc9470 Add Gemini 2.5 Flash-Lite Model hkfires 2025-09-04 11:59:48 +08:00
  • 5ed79e5aa3 Add debounce logic for file events to prevent duplicate reloads hkfires 2025-09-04 10:28:54 +08:00
  • f38b78dbe6 Update the README to include Docker Compose usage instructions hkfires 2025-09-04 10:00:56 +08:00
  • f1d6f01585 Add reasoning/thinking configuration handling for Claude and OpenAI translators v5.1.6 Luis Pater 2025-09-04 09:43:22 +08:00
  • 9b627a93ac Add Docker Compose hkfires 2025-09-04 09:23:35 +08:00
  • d4709ffcf9 Replace path with filepath for cross-platform compatibility v5.1.5 Luis Pater 2025-09-04 08:23:51 +08:00
  • ad943b2d4d Add reverse mappings for original tool names and improve error logging v5.1.4 Luis Pater 2025-09-04 02:39:56 +08:00
  • 7209fa233f Refactor client map construction to include all client types and enhance callback updates v5.1.3 Luis Pater 2025-09-03 22:26:07 +08:00
  • 7b9cfbc3f7 Merge pull request #23 from luispater/dev v5.1.2 Luis Pater 2025-09-03 21:30:22 +08:00
  • 70e916942e Refactor cliCancel calls to remove unused resp argument across handlers. Luis Pater 2025-09-03 21:13:22 +08:00
  • f60ef0b2e7 feat(watcher): implement incremental client hot-reloading hkfires 2025-09-03 20:47:43 +08:00
  • 6d2f7e3ce0 Enhance parseArgsToMap with tolerant JSON parsing v5.1.1 Luis Pater 2025-09-03 16:11:26 +08:00
  • caf386c877 Update MANAGEMENT_API.md with expanded documentation for endpoints Luis Pater 2025-09-03 09:07:43 +08:00
  • c4a42eb1f0 Add support for Codex API key authentication v5.1.0 Luis Pater 2025-09-03 03:36:56 +08:00
  • b6f8677b01 Remove commented debug logging in ConvertOpenAIResponsesRequestToGeminiCLI v5.0.7 Luis Pater 2025-09-03 03:03:07 +08:00
  • 36ee21ea8f Update README to include Codex support and multi-account load balancing details Luis Pater 2025-09-03 02:47:53 +08:00
  • 30d5d87ca6 Update README to include Codex support and multi-account load balancing details Luis Pater 2025-09-03 02:16:56 +08:00
  • 67e0b71c18 Add Codex load balancing documentation and refine JSON handling logic v5.0.6 Luis Pater 2025-09-03 01:33:26 +08:00
  • b0f72736b0 Remove redundant dataUglyTag parsing logic in streaming responses v5.0.5 Luis Pater 2025-09-03 00:44:35 +08:00
  • ae06f13e0e Extract argument parsing logic into parseArgsToMap helper function Luis Pater 2025-09-03 00:41:16 +08:00
  • 0652241519 Update README to rename gpt-5-nano to gpt-5-minimal in usage examples Luis Pater 2025-09-03 00:20:47 +08:00
  • edf9d9b747 Merge branch 'main' of github.com:luispater/CLIProxyAPI Luis Pater 2025-09-03 00:16:04 +08:00
  • 3acdec51bd Add OpenAI Responses support Luis Pater 2025-09-01 17:38:24 +08:00
  • ce5d2bad97 Add OpenAI Responses support Luis Pater 2025-09-02 09:07:44 +08:00
  • 34855bc647 **Fix model switch logic when quota is exceeded** v5.0.4 Luis Pater 2025-09-01 21:37:03 +08:00
  • 56c8297f6b **Handle data: without trailing space in streaming responses** v5.0.3 Luis Pater 2025-09-01 17:38:24 +08:00
  • e11637dc62 Refactor translator packages for OpenAI Chat Completions Luis Pater 2025-09-01 11:00:47 +08:00
  • e0bff9f212 Refactor translator packages for OpenAI Chat Completions Luis Pater 2025-09-01 10:28:29 +08:00
  • bff6f6679b Refactor translator packages for OpenAI Chat Completions Luis Pater 2025-09-01 10:20:50 +08:00
  • 305916f5a9 Refactor translator packages for OpenAI Chat Completions Luis Pater 2025-09-01 10:07:33 +08:00
  • 1f46dc2715 Refactor translator packages for OpenAI Chat Completions Luis Pater 2025-09-01 08:37:41 +08:00
  • e3994ace33 Refactor translator packages for OpenAI Chat Completions Luis Pater 2025-09-01 08:18:59 +08:00
  • bdac24bb4e Update PassthroughGeminiResponseStream to handle [DONE] marker v5.0.2 Luis Pater 2025-09-01 02:00:55 +08:00
  • 6d30faf9c9 Update Management API CN docs for authentication requirements Luis Pater 2025-08-31 15:25:00 +08:00
  • c0eaa41c7a Add Gemini-to-Gemini request normalization and passthrough support v5.0.1 Luis Pater 2025-08-31 15:05:16 +08:00
  • 8a2285e706 Reorganize and reintroduce Management API section in README files Luis Pater 2025-08-31 14:41:57 +08:00
  • db43930b98 Add management API handlers for config and auth file management v5.0.0 Luis Pater 2025-08-31 04:14:43 +08:00
  • b1254106ee Enhance client reload process with new OpenAI compatibility support v4.1.12 Luis Pater 2025-08-31 02:58:55 +08:00
  • 9c9ea99380 Add support for new GPT-5 model variants v4.1.11 Luis Pater 2025-08-30 22:00:37 +08:00
  • ba4c11428c Merge pull request #16 from hkfires/main Luis Pater 2025-08-30 19:05:32 +08:00
  • 0331660fe2 Add token refresh handling for 401 responses across clients v4.1.10 Luis Pater 2025-08-30 16:44:35 +08:00
  • 3f7840188e Set the default Docker timezone to Asia/Shanghai hkfires 2025-08-30 16:41:27 +08:00
  • 512c8b600a Add token refresh handling for 401 responses across clients v4.1.9 Luis Pater 2025-08-30 16:10:56 +08:00
  • 1aad033fec Update issue templates Luis Pater 2025-08-30 04:18:17 +08:00
  • f1d9364ef4 Update README documentation to clarify auth-dir configuration for Windows users v4.1.8 Luis Pater 2025-08-29 16:41:09 +08:00
  • c2b2c9eafe Update README documentation to clarify auth-dir configuration for Windows users v4.1.7 Luis Pater 2025-08-29 09:52:10 +08:00
  • 09b9d3b3fa Unlock mutex before returning error in handlers.go to prevent deadlocks v4.1.6 Luis Pater 2025-08-29 09:46:12 +08:00
  • e9e0016a63 Fix some bugs. Luis Pater 2025-08-29 03:00:43 +08:00
  • 3704dae342 Add nil-check for GetRequestMutex across handlers to prevent potential panics v4.1.5 Luis Pater 2025-08-28 02:47:15 +08:00
  • bea5f97cbf Add /v1/completions endpoint with OpenAI compatibility v4.1.4 Luis Pater 2025-08-28 00:30:46 +08:00
  • 7a6adfa97e Suppress debug logs for model routing and ignore empty tools arrays v4.1.3 Luis Pater 2025-08-27 22:29:08 +08:00
  • 1c4183d943 Add support for localhost unauthenticated requests v4.1.2 Luis Pater 2025-08-27 21:10:01 +08:00
  • dff31a7a4c Improved the /v1/models endpoint v4.1.1 Luis Pater 2025-08-27 20:30:17 +08:00
  • ed8873fbb0 Add OpenAI compatibility support and improve resource cleanup v4.1.0 Luis Pater 2025-08-26 03:21:19 +08:00