mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-16 03:10:52 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa762e69a4 | ||
|
|
7e0fd1e260 | ||
|
|
d6037e5549 |
@@ -1,6 +1,6 @@
|
||||
# Git and GitHub folders
|
||||
.git
|
||||
.github
|
||||
.git/*
|
||||
.github/*
|
||||
|
||||
# Docker and CI/CD related files
|
||||
docker-compose.yml
|
||||
@@ -10,6 +10,7 @@ docker-compose.yml
|
||||
Dockerfile
|
||||
|
||||
# Documentation and license
|
||||
docs/*
|
||||
README.md
|
||||
README_CN.md
|
||||
MANAGEMENT_API.md
|
||||
@@ -20,6 +21,11 @@ LICENSE
|
||||
config.example.yaml
|
||||
|
||||
# Runtime data folders (should be mounted as volumes)
|
||||
auths
|
||||
logs
|
||||
auths/*
|
||||
logs/*
|
||||
conv/*
|
||||
config.yaml
|
||||
|
||||
# Development/editor
|
||||
.claude/*
|
||||
.vscode/*
|
||||
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,6 +1,10 @@
|
||||
config.yaml
|
||||
docs/*
|
||||
logs/*
|
||||
conv/*
|
||||
auths/*
|
||||
!auths/.gitkeep
|
||||
AGENTS.md
|
||||
.vscode/*
|
||||
.claude/*
|
||||
AGENTS.md
|
||||
CLAUDE.md
|
||||
@@ -447,6 +447,7 @@ func (c *CodexClient) APIRequest(ctx context.Context, modelName, endpoint string
|
||||
req.Header.Set("Openai-Beta", "responses=experimental")
|
||||
req.Header.Set("Session_id", sessionID)
|
||||
req.Header.Set("Accept", "text/event-stream")
|
||||
req.Header.Set("Connection", "Keep-Alive")
|
||||
|
||||
if c.apiKeyIndex != -1 {
|
||||
// Using API key authentication
|
||||
|
||||
Reference in New Issue
Block a user