Skip to content

Typing error using .request directly #154

@coyotte508

Description

@coyotte508
await hf.request({
	model: 'my-custom-model',
	inputs: 'hello world', <- this is throwing a typing error
	parameters: {
		custom_param: 'some magic',
	}
})

Using @huggingface/inference@2.0.0-rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginference@huggingface/inference related

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions