Skip to content

Commit e26deb0

Browse files
chore: Update platform types (#1074)
Automated regeneration of SDK types. Co-authored-by: braintrust-bot[bot] <215900051+braintrust-bot[bot]@users.noreply.github.com>
1 parent 426567c commit e26deb0

3 files changed

Lines changed: 458 additions & 17 deletions

File tree

‎generated_types.json‎

Lines changed: 341 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3919,7 +3919,7 @@
39193919
},
39203920
"cwd": {
39213921
"type": "string",
3922-
"pattern": "^(?:\\/|[A-Za-z]:[\\\\/]|\\\\\\\\)",
3922+
"pattern": "^(?:[/]|[A-Za-z]:[\\\\/]|\\\\\\\\)",
39233923
"description": "Absolute working directory for the ACP session on the execution host"
39243924
},
39253925
"permissions": {
@@ -4876,7 +4876,7 @@
48764876
"null"
48774877
],
48784878
"additionalProperties": {},
4879-
"description": "Any relevant metadata. This will be logged and available as the `metadata` argument."
4879+
"description": "Any relevant metadata to log on the span. For prompts, this is available as the `metadata` template variable. For code functions, this is passed through hooks and is not added to `input`."
48804880
},
48814881
"tags": {
48824882
"type": [
@@ -7499,6 +7499,174 @@
74997499
"content"
75007500
],
75017501
"title": "completion"
7502+
},
7503+
{
7504+
"type": "object",
7505+
"properties": {
7506+
"type": {
7507+
"type": "string",
7508+
"enum": [
7509+
"decisions"
7510+
]
7511+
},
7512+
"input": {
7513+
"anyOf": [
7514+
{
7515+
"type": "string"
7516+
},
7517+
{
7518+
"type": "array",
7519+
"items": {
7520+
"type": "object",
7521+
"properties": {
7522+
"role": {
7523+
"type": "string",
7524+
"enum": [
7525+
"system",
7526+
"developer",
7527+
"user",
7528+
"assistant"
7529+
]
7530+
},
7531+
"content": {
7532+
"anyOf": [
7533+
{
7534+
"type": "string"
7535+
},
7536+
{
7537+
"type": "array",
7538+
"items": {
7539+
"$ref": "#/components/schemas/ChatCompletionContentPartText"
7540+
}
7541+
}
7542+
]
7543+
}
7544+
},
7545+
"required": [
7546+
"role",
7547+
"content"
7548+
]
7549+
}
7550+
}
7551+
]
7552+
},
7553+
"questions": {
7554+
"type": "array",
7555+
"items": {
7556+
"allOf": [
7557+
{
7558+
"type": "object",
7559+
"properties": {
7560+
"name": {
7561+
"type": "string"
7562+
},
7563+
"instructions": {
7564+
"type": "string"
7565+
}
7566+
},
7567+
"required": [
7568+
"instructions"
7569+
]
7570+
},
7571+
{
7572+
"oneOf": [
7573+
{
7574+
"type": "object",
7575+
"properties": {
7576+
"type": {
7577+
"type": "string",
7578+
"enum": [
7579+
"predicate"
7580+
]
7581+
}
7582+
},
7583+
"required": [
7584+
"type"
7585+
]
7586+
},
7587+
{
7588+
"type": "object",
7589+
"properties": {
7590+
"type": {
7591+
"type": "string",
7592+
"enum": [
7593+
"choice"
7594+
]
7595+
},
7596+
"choices": {
7597+
"type": "array",
7598+
"items": {
7599+
"type": "object",
7600+
"properties": {
7601+
"value": {
7602+
"anyOf": [
7603+
{
7604+
"type": "string"
7605+
},
7606+
{
7607+
"type": "boolean"
7608+
}
7609+
]
7610+
},
7611+
"description": {
7612+
"type": "string"
7613+
}
7614+
},
7615+
"required": [
7616+
"value"
7617+
]
7618+
}
7619+
}
7620+
},
7621+
"required": [
7622+
"type",
7623+
"choices"
7624+
]
7625+
},
7626+
{
7627+
"type": "object",
7628+
"properties": {
7629+
"type": {
7630+
"type": "string",
7631+
"enum": [
7632+
"score"
7633+
]
7634+
},
7635+
"levels": {
7636+
"type": "array",
7637+
"items": {
7638+
"type": "object",
7639+
"properties": {
7640+
"label": {
7641+
"type": "string"
7642+
},
7643+
"description": {
7644+
"type": "string"
7645+
}
7646+
},
7647+
"required": [
7648+
"label"
7649+
]
7650+
}
7651+
}
7652+
},
7653+
"required": [
7654+
"type",
7655+
"levels"
7656+
]
7657+
}
7658+
]
7659+
}
7660+
]
7661+
}
7662+
}
7663+
},
7664+
"required": [
7665+
"type",
7666+
"input",
7667+
"questions"
7668+
],
7669+
"title": "decisions"
75027670
}
75037671
]
75047672
},
@@ -7548,6 +7716,174 @@
75487716
],
75497717
"title": "completion"
75507718
},
7719+
{
7720+
"type": "object",
7721+
"properties": {
7722+
"type": {
7723+
"type": "string",
7724+
"enum": [
7725+
"decisions"
7726+
]
7727+
},
7728+
"input": {
7729+
"anyOf": [
7730+
{
7731+
"type": "string"
7732+
},
7733+
{
7734+
"type": "array",
7735+
"items": {
7736+
"type": "object",
7737+
"properties": {
7738+
"role": {
7739+
"type": "string",
7740+
"enum": [
7741+
"system",
7742+
"developer",
7743+
"user",
7744+
"assistant"
7745+
]
7746+
},
7747+
"content": {
7748+
"anyOf": [
7749+
{
7750+
"type": "string"
7751+
},
7752+
{
7753+
"type": "array",
7754+
"items": {
7755+
"$ref": "#/components/schemas/ChatCompletionContentPartText"
7756+
}
7757+
}
7758+
]
7759+
}
7760+
},
7761+
"required": [
7762+
"role",
7763+
"content"
7764+
]
7765+
}
7766+
}
7767+
]
7768+
},
7769+
"questions": {
7770+
"type": "array",
7771+
"items": {
7772+
"allOf": [
7773+
{
7774+
"type": "object",
7775+
"properties": {
7776+
"name": {
7777+
"type": "string"
7778+
},
7779+
"instructions": {
7780+
"type": "string"
7781+
}
7782+
},
7783+
"required": [
7784+
"instructions"
7785+
]
7786+
},
7787+
{
7788+
"oneOf": [
7789+
{
7790+
"type": "object",
7791+
"properties": {
7792+
"type": {
7793+
"type": "string",
7794+
"enum": [
7795+
"predicate"
7796+
]
7797+
}
7798+
},
7799+
"required": [
7800+
"type"
7801+
]
7802+
},
7803+
{
7804+
"type": "object",
7805+
"properties": {
7806+
"type": {
7807+
"type": "string",
7808+
"enum": [
7809+
"choice"
7810+
]
7811+
},
7812+
"choices": {
7813+
"type": "array",
7814+
"items": {
7815+
"type": "object",
7816+
"properties": {
7817+
"value": {
7818+
"anyOf": [
7819+
{
7820+
"type": "string"
7821+
},
7822+
{
7823+
"type": "boolean"
7824+
}
7825+
]
7826+
},
7827+
"description": {
7828+
"type": "string"
7829+
}
7830+
},
7831+
"required": [
7832+
"value"
7833+
]
7834+
}
7835+
}
7836+
},
7837+
"required": [
7838+
"type",
7839+
"choices"
7840+
]
7841+
},
7842+
{
7843+
"type": "object",
7844+
"properties": {
7845+
"type": {
7846+
"type": "string",
7847+
"enum": [
7848+
"score"
7849+
]
7850+
},
7851+
"levels": {
7852+
"type": "array",
7853+
"items": {
7854+
"type": "object",
7855+
"properties": {
7856+
"label": {
7857+
"type": "string"
7858+
},
7859+
"description": {
7860+
"type": "string"
7861+
}
7862+
},
7863+
"required": [
7864+
"label"
7865+
]
7866+
}
7867+
}
7868+
},
7869+
"required": [
7870+
"type",
7871+
"levels"
7872+
]
7873+
}
7874+
]
7875+
}
7876+
]
7877+
}
7878+
}
7879+
},
7880+
"required": [
7881+
"type",
7882+
"input",
7883+
"questions"
7884+
],
7885+
"title": "decisions"
7886+
},
75517887
{
75527888
"type": "null"
75537889
}
@@ -10431,17 +10767,9 @@
1043110767
]
1043210768
},
1043310769
"id": {
10434-
"anyOf": [
10435-
{
10436-
"type": "string",
10437-
"format": "uuid"
10438-
},
10439-
{
10440-
"type": "string",
10441-
"enum": [
10442-
"overview"
10443-
]
10444-
}
10770+
"type": "string",
10771+
"enum": [
10772+
"overview"
1044510773
]
1044610774
}
1044710775
},

0 commit comments

Comments
 (0)