Merge pull request #850 from trheyi/main

Configure base URL for OpenAI API initialization
This commit is contained in:
Max 2025-02-06 09:26:28 +08:00 committed by GitHub
commit 3507963ed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,6 +133,7 @@ func NewMoapi(model string) (*OpenAI, error) {
model: model,
host: url,
organization: organization,
baseURL: "/v1",
maxToken: 16384,
}, nil
}