Skip to content

feat: expose typed model/features listing fields added in DIAL Core #112

Description

@ypldan

Name and Version

aidial-client 0.12.0

What is the problem this feature will solve?

The typed listing models in the client have drifted behind the DIAL Core API. Several fields that Core now returns in model and deployment/application listings are only accepted via extra="allow" passthrough — they are not exposed as typed attributes, so users get no autocomplete, validation, or documentation for them.

Missing response fields:

  • Model listingembedding_dimensions (vector size for embedding models).
  • Features object (shared by models/applications/toolsets) — chat_completion and responses_api endpoint flags, and reasoning_efforts (a string array that supersedes the old reasoning_efforts_supported boolean).
  • Features object (pre-existing drift)max_tokens_supported, max_completion_tokens_supported, custom_temperature_supported.

What is the feature you are proposing to solve the problem?

Add the missing fields as first-class typed fields on ModelInfo (types/model.py) and Features (types/deployment.py), with defaults that stay compatible with older Core versions, and document them in the README sample responses.

What alternatives have you considered?

Relying on extra="allow" passthrough (current behavior) — works at runtime but leaves the fields untyped, undocumented, and undiscoverable.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions