Skip to content

LanguageModelChatInformation#capabilities should be optional #269489

@jrieken

Description

@jrieken

All properties of LanguageModelChatCapabilities are optional and hence it would be nice/better to also make LanguageModelChatInformation#capabilities optional. Today, authors need to spell out an empty object if all capabilities are lacked, like so

{
	id: 'b',
	family: 'b',
	capabilities: {

	},
	maxInputTokens: 100,
	maxOutputTokens: 1000,
	name: 'b-modelOptions',
	vendor: 'b',
	version: '1',
	isUserSelectable: true,
	isDefault: true
}

Metadata

Metadata

Assignees

Labels

apiunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions