Merge pull request #850 from trheyi/main
Configure base URL for OpenAI API initialization
This commit is contained in:
commit
3507963ed3
1 changed files with 1 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ func NewMoapi(model string) (*OpenAI, error) {
|
|||
model: model,
|
||||
host: url,
|
||||
organization: organization,
|
||||
baseURL: "/v1",
|
||||
maxToken: 16384,
|
||||
}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue