Skip to content

Commit dd86832

Browse files
Update gateway/src/providers/huggingface.ts
Co-authored-by: célina <hanouticelina@gmail.com>
1 parent 34947b4 commit dd86832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway/src/providers/huggingface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ChatCompletionAPI } from '../api/chat'
33
import { DefaultProviderProxy } from './default'
44

55
export class HuggingFaceProvider extends DefaultProviderProxy {
6-
defaultBaseUrl = 'https://api-inference.huggingface.co'
6+
defaultBaseUrl = 'https://router.huggingface.co/v1'
77

88
protected modelAPI(): ModelAPI {
99
return new ChatCompletionAPI('huggingface')

0 commit comments

Comments
 (0)