some closing

This commit is contained in:
2026-01-28 22:11:39 +03:00
parent fa1dc503ab
commit 047246b83a
3 changed files with 6 additions and 1 deletions

View File

@@ -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"`