Skip to content

Commit e0d1c0b

Browse files
authored
Merge pull request #9 from Serverless-Devs/browser-integration
fix(api): use dynamic baseUrl instead of hardcoded localhost
2 parents 1a6c85a + 3df766f commit e0d1c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/api/model-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class ModelAPI {
2525
const provider = createOpenAICompatible({
2626
name: model || info.model || '',
2727
apiKey: info.apiKey,
28-
baseURL: 'http://127.0.0.1:8080', // info.baseUrl,
28+
baseURL: info.baseUrl || '',
2929
headers: info.headers,
3030
});
3131

0 commit comments

Comments
 (0)