Commit Graph

  • 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 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 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 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 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 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 Luis Pater 2025-09-04 08:23:51 +08:00
  • ad943b2d4d Add reverse mappings for original tool names and improve error logging Luis Pater 2025-09-04 02:39:56 +08:00
  • 7209fa233f Refactor client map construction to include all client types and enhance callback updates Luis Pater 2025-09-03 22:26:07 +08:00
  • 7b9cfbc3f7 Merge pull request #23 from luispater/dev 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 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 Luis Pater 2025-09-03 03:36:56 +08:00
  • b6f8677b01 Remove commented debug logging in ConvertOpenAIResponsesRequestToGeminiCLI 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 Luis Pater 2025-09-03 01:33:26 +08:00
  • b0f72736b0 Remove redundant dataUglyTag parsing logic in streaming responses 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** Luis Pater 2025-09-01 21:37:03 +08:00
  • 56c8297f6b **Handle data: without trailing space in streaming responses** 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 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 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 Luis Pater 2025-08-31 04:14:43 +08:00
  • b1254106ee Enhance client reload process with new OpenAI compatibility support Luis Pater 2025-08-31 02:58:55 +08:00
  • 9c9ea99380 Add support for new GPT-5 model variants 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 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 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 Luis Pater 2025-08-29 16:41:09 +08:00
  • c2b2c9eafe Update README documentation to clarify auth-dir configuration for Windows users Luis Pater 2025-08-29 09:52:10 +08:00
  • 09b9d3b3fa Unlock mutex before returning error in handlers.go to prevent deadlocks 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 Luis Pater 2025-08-28 02:47:15 +08:00
  • bea5f97cbf Add /v1/completions endpoint with OpenAI compatibility Luis Pater 2025-08-28 00:30:46 +08:00
  • 7a6adfa97e Suppress debug logs for model routing and ignore empty tools arrays Luis Pater 2025-08-27 22:29:08 +08:00
  • 1c4183d943 Add support for localhost unauthenticated requests Luis Pater 2025-08-27 21:10:01 +08:00
  • dff31a7a4c Improved the /v1/models endpoint Luis Pater 2025-08-27 20:30:17 +08:00
  • ed8873fbb0 Add OpenAI compatibility support and improve resource cleanup Luis Pater 2025-08-26 03:21:19 +08:00
  • 9102ff031d Refactor API handlers to implement retry mechanism with configurable limits and improved error handling Luis Pater 2025-08-25 23:27:30 +08:00
  • 8c555c4e69 Refactor codebase Luis Pater 2025-08-22 01:31:12 +08:00
  • 2b1762be16 Update README to reflect usage of Qwen models instead of Claude models Luis Pater 2025-08-22 00:34:09 +08:00
  • aa2f37d54d Add Qwen support Luis Pater 2025-08-21 05:11:21 +08:00
  • d58cc55cb2 Add claude code support Luis Pater 2025-08-19 01:16:52 +08:00
  • c5cc238308 Refactor error handling and variable declarations in browser and logging modules Luis Pater 2025-08-17 18:34:15 +08:00
  • 6bbdf67f96 Refactor Gemini API handlers to standardize response field names and improve model descriptions Luis Pater 2025-08-17 00:28:13 +08:00
  • fcadf08921 Add request logging capabilities to API handlers and update .gitignore Luis Pater 2025-08-16 05:03:10 +08:00
  • 4155805ad6 Add support for Codex model in provider logic and update documentation for claude code Luis Pater 2025-08-16 02:02:44 +08:00
  • de7b8501cc Add openai codex support Luis Pater 2025-08-08 15:44:00 +08:00
  • d2394b0be9 Update .goreleaser.yml to specify archive formats for different OS targets Luis Pater 2025-08-08 14:28:02 +08:00
  • ebcd4dbf3d Fix activation URL extraction logic and improve warning message formatting Luis Pater 2025-08-05 23:58:43 +08:00
  • 1483c31c73 Refactor API handlers organization and simplify error response handling Luis Pater 2025-08-05 17:37:00 +08:00
  • 00f33f5f3a Enhance Gemini request handling for contents support and improve error logging Luis Pater 2025-08-04 02:51:00 +08:00
  • 3c4dc07980 Add file watcher for dynamic configuration and client reloading Luis Pater 2025-08-02 16:05:05 +08:00
  • 3b4634e2dc Improve getClient logic with optional content generation flag Luis Pater 2025-07-27 02:30:08 +08:00
  • 00bd6a3e46 Update .goreleaser.yml to include config.example.yaml instead of config.yaml in release assets Luis Pater 2025-07-26 22:19:33 +08:00
  • 5812229d9b Add .gitignore and ignore config.yaml Luis Pater 2025-07-26 22:10:07 +08:00
  • 0b026933a7 Update example configuration file (config.example.yaml) Luis Pater 2025-07-26 22:08:25 +08:00
  • 3b2ab0d7bd Fix SSE headers initialization for geminiStreamGenerateContent and internalStreamGenerateContent Luis Pater 2025-07-26 17:16:55 +08:00
  • e64fa48823 Enhance Gemini request handling with fallback support for contents Luis Pater 2025-07-26 17:04:14 +08:00
  • beff9282f6 Fix alt parameter handling in URL construction Luis Pater 2025-07-26 15:51:04 +08:00
  • 31a9e2d11f Add GeminiGetHandler, enhance Gemini functionality, and enable token counting Luis Pater 2025-07-26 06:51:49 +08:00