Skip to content

Commit 3d098d7

Browse files
committed
Update schema
1 parent 9551b7e commit 3d098d7

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

pdl-live-react/src/pdl_ast.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,6 +2180,11 @@ export type Input =
21802180
export type Modelresponse = string | null
21812181
export type CompletionTokens = number | null
21822182
export type PromptTokens = number | null
2183+
export type PdlModelInput =
2184+
| {
2185+
[k: string]: unknown
2186+
}[]
2187+
| null
21832188
/**
21842189
* Optional field to ensure that the block is using granite-io.
21852190
*
@@ -2326,6 +2331,11 @@ export type Input1 =
23262331
*
23272332
*/
23282333
export type Modelresponse1 = string | null
2334+
export type PdlModelInput1 =
2335+
| {
2336+
[k: string]: unknown
2337+
}[]
2338+
| null
23292339
/**
23302340
* Optional field to ensure that the block is using LiteLLM.
23312341
*
@@ -2787,6 +2797,7 @@ export interface LitellmModelBlock {
27872797
*
27882798
*/
27892799
pdl__usage?: PdlUsage | null
2800+
pdl__model_input?: PdlModelInput1
27902801
platform?: Platform1
27912802
parameters?: Parameters1
27922803
}
@@ -2856,6 +2867,7 @@ export interface GraniteioModelBlock {
28562867
*
28572868
*/
28582869
pdl__usage?: PdlUsage | null
2870+
pdl__model_input?: PdlModelInput
28592871
platform?: Platform
28602872
backend: Backend
28612873
processor?: Processor

src/pdl/pdl-schema.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4236,6 +4236,21 @@
42364236
"default": null,
42374237
"description": "Tokens consumed during model call\n "
42384238
},
4239+
"pdl__model_input": {
4240+
"anyOf": [
4241+
{
4242+
"items": {
4243+
"type": "object"
4244+
},
4245+
"type": "array"
4246+
},
4247+
{
4248+
"type": "null"
4249+
}
4250+
],
4251+
"default": null,
4252+
"title": "Pdl Model Input"
4253+
},
42394254
"platform": {
42404255
"const": "granite-io",
42414256
"default": "granite-io",
@@ -6686,6 +6701,21 @@
66866701
"default": null,
66876702
"description": "Tokens consumed during model call\n "
66886703
},
6704+
"pdl__model_input": {
6705+
"anyOf": [
6706+
{
6707+
"items": {
6708+
"type": "object"
6709+
},
6710+
"type": "array"
6711+
},
6712+
{
6713+
"type": "null"
6714+
}
6715+
],
6716+
"default": null,
6717+
"title": "Pdl Model Input"
6718+
},
66896719
"platform": {
66906720
"const": "litellm",
66916721
"default": "litellm",

0 commit comments

Comments
 (0)