chore: restore prior formatting for clearer provider diffs
This commit is contained in:
parent
0a02d462f0
commit
b2ec2f1ad5
2 changed files with 4 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ func NewHTTPProviderWithOptions(
|
||||||
) *HTTPProvider {
|
) *HTTPProvider {
|
||||||
opts := []openai_compat.Option{
|
opts := []openai_compat.Option{
|
||||||
openai_compat.WithMaxTokensField(maxTokensField),
|
openai_compat.WithMaxTokensField(maxTokensField),
|
||||||
openai_compat.WithRequestTimeout(time.Duration(requestTimeoutSeconds) * time.Second),
|
openai_compat.WithRequestTimeout(time.Duration(requestTimeoutSeconds)*time.Second),
|
||||||
}
|
}
|
||||||
if customHeaders != nil {
|
if customHeaders != nil {
|
||||||
opts = append(opts, openai_compat.WithCustomHeaders(customHeaders))
|
opts = append(opts, openai_compat.WithCustomHeaders(customHeaders))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue