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