laravel icon indicating copy to clipboard operation
laravel copied to clipboard

feat: add base_uri and headers to configs

Open ouronghuang opened this issue 1 year ago • 3 comments

ouronghuang avatar Dec 30 '24 02:12 ouronghuang

We do have dynamic base url now. Do you see a common use-case to have custom headers?

iBotPeaches avatar Apr 08 '25 01:04 iBotPeaches

DouBao is without headers

ouronghuang avatar Apr 08 '25 04:04 ouronghuang

@ouronghuang - So DuoBao requires specific headers that you want to apply instead of manually constructing the client? Is it basically a drop-in replacement with OpenAI?

iBotPeaches avatar Apr 08 '25 10:04 iBotPeaches

The last release (v0.12) allows changing the base URL via config/env now. I'm closing this as resolved.

iBotPeaches avatar May 04 '25 23:05 iBotPeaches