some closing
This commit is contained in:
@@ -87,6 +87,9 @@ func NewOpenAIAPI(baseURL, token, model string) *OpenAIAPI {
|
||||
client: client,
|
||||
}
|
||||
}
|
||||
func (o *OpenAIAPI) Close() error {
|
||||
return o.Logger.Close()
|
||||
}
|
||||
|
||||
type CreateCompletionReq struct {
|
||||
Model string `json:"model"`
|
||||
|
||||
Reference in New Issue
Block a user