merge
This commit is contained in:
commit
00152b41ed
|
|
@ -29,6 +29,7 @@ Thumbs.db
|
||||||
*.key
|
*.key
|
||||||
*.log
|
*.log
|
||||||
bin/
|
bin/
|
||||||
|
config.json
|
||||||
|
|
||||||
# Develop tools
|
# Develop tools
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ WORKDIR /app
|
||||||
|
|
||||||
ADD . .
|
ADD . .
|
||||||
|
|
||||||
|
ENV GOPROXY https://goproxy.cn
|
||||||
|
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o override
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o override
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,11 @@
|
||||||
"bind": "127.0.0.1:8181",
|
"bind": "127.0.0.1:8181",
|
||||||
"proxy_url": "",
|
"proxy_url": "",
|
||||||
"timeout": 600,
|
"timeout": 600,
|
||||||
"codex_api_base": "https://api.oaipro.com/v1/completions",
|
"codex_api_base": "https://api-proxy.oaipro.com/v1",
|
||||||
"codex_api_key": "sk-4VTExcjhhlexSBWXCfDd15A102094580B9616062E0Cb6319",
|
"codex_api_key": "sk-xxx",
|
||||||
"codex_api_organization": "",
|
"codex_api_organization": "",
|
||||||
"codex_api_project": "",
|
"codex_api_project": "",
|
||||||
"codex_max_tokens": 4093,
|
"codex_max_tokens": 2048,
|
||||||
"codex_model_default":"gpt-3.5-turbo-instruct",
|
|
||||||
"chat_api_base": "https://api-proxy.oaipro.com/v1",
|
"chat_api_base": "https://api-proxy.oaipro.com/v1",
|
||||||
"chat_api_key": "sk-xxx",
|
"chat_api_key": "sk-xxx",
|
||||||
"chat_api_organization": "",
|
"chat_api_organization": "",
|
||||||
Loading…
Reference in New Issue