frontend 兼容
This commit is contained in:
25
README.md
25
README.md
@@ -8,30 +8,7 @@ protoc \
|
||||
```
|
||||
|
||||
```shell
|
||||
# chatgpt-web-backend
|
||||
go mod tidy
|
||||
go run cmd/main.go \
|
||||
--frontend-path www \
|
||||
--openapi-key $MOONSHOT_API_KEY \
|
||||
--openapi-base-url https://api.moonshot.cn/v1 \
|
||||
--openai-model kimi-k2.5 \
|
||||
--openai-temperature 100 \
|
||||
--openai-presence-penalty 0 \
|
||||
--openai-frequency-penalty 0
|
||||
|
||||
docker build -t chatgpt-web-backend:1.0.0 .
|
||||
|
||||
docker run -d --name chatgpt-web-backend \
|
||||
-p 7080:7080 \
|
||||
chatgpt-web-backend:1.0.0 \
|
||||
/app/server \
|
||||
--frontend-path www \
|
||||
--openapi-key "$MOONSHOT_API_KEY" \
|
||||
--openapi-base-url https://api.moonshot.cn/v1 \
|
||||
--openai-model kimi-k2.5 \
|
||||
--openai-temperature 100 \
|
||||
--openai-presence-penalty 0 \
|
||||
--openai-frequency-penalty 0
|
||||
# ai-chat-web
|
||||
|
||||
# ai-chat-backend
|
||||
docker build -t ai-chat-backend:1.0.0 .
|
||||
|
||||
Reference in New Issue
Block a user