Skip to content

Commit

Permalink
Inherit fields
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkyle committed Nov 27, 2023
1 parent d1b2729 commit 64a4eef
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 56 deletions.
48 changes: 9 additions & 39 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 1 addition & 13 deletions specification/inference/_types/Services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class ModelConfig {
/**
* Represents a model as returned by the GET API
*/
export class ModelConfigContainer {
export class ModelConfigContainer extends ModelConfig {
/**
* The model Id
*/
Expand All @@ -50,18 +50,6 @@ export class ModelConfigContainer {
* The model's task type
*/
task_type: TaskType
/**
* The service type
*/
service: string
/**
* Settings specific to the service
*/
service_settings: ServiceSettings
/**
* Task settings specific to the service and model
*/
task_settings: TaskSettings
}

export type ServiceSettings = UserDefinedValue
Expand Down

0 comments on commit 64a4eef

Please sign in to comment.