@azure-tools/typespec-azure-resource-manager 0.71.0-dev.7 → 0.71.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base-types/agent.tsp +11 -7
- package/package.json +6 -6
package/lib/base-types/agent.tsp
CHANGED
|
@@ -186,6 +186,9 @@ model ConversationProperties {
|
|
|
186
186
|
/** Timestamp of when the conversation was created. Read-only. */
|
|
187
187
|
@visibility(Lifecycle.Read)
|
|
188
188
|
createdAt?: utcDateTime;
|
|
189
|
+
|
|
190
|
+
/** Content input to the conversation. Required on create. */
|
|
191
|
+
input: InputItem;
|
|
189
192
|
}
|
|
190
193
|
|
|
191
194
|
/**
|
|
@@ -232,7 +235,7 @@ enum ItemType {
|
|
|
232
235
|
* - `FunctionCallOutput`: `callId`, `output`
|
|
233
236
|
* - `Compaction`: `summary`
|
|
234
237
|
*/
|
|
235
|
-
model
|
|
238
|
+
model InputItem {
|
|
236
239
|
/** Unique identifier of the item. Read-only (assigned by the service). */
|
|
237
240
|
@visibility(Lifecycle.Read)
|
|
238
241
|
id?: string;
|
|
@@ -240,11 +243,12 @@ model ConversationItem {
|
|
|
240
243
|
/** The item type discriminator. Determines which variant this item represents. */
|
|
241
244
|
type: ItemType;
|
|
242
245
|
|
|
243
|
-
/** The role of the message author. Applies to `Message` items. */
|
|
246
|
+
/** The role of the message author. Applies to `Message` items. Read-only. */
|
|
247
|
+
@visibility(Lifecycle.Read)
|
|
244
248
|
role?: MessageRole;
|
|
245
249
|
|
|
246
|
-
/** The
|
|
247
|
-
content?:
|
|
250
|
+
/** The content of the message. Applies to `Message` items. */
|
|
251
|
+
content?: Record<unknown>;
|
|
248
252
|
|
|
249
253
|
/** Identifier correlating a function call with its output. Applies to `FunctionCall` and `FunctionCallOutput` items. */
|
|
250
254
|
callId?: string;
|
|
@@ -316,7 +320,7 @@ model ResponseProperties {
|
|
|
316
320
|
status?: ResponseStatus;
|
|
317
321
|
|
|
318
322
|
/** Content input to the model. Required on create. */
|
|
319
|
-
input:
|
|
323
|
+
input: InputItem;
|
|
320
324
|
}
|
|
321
325
|
|
|
322
326
|
/**
|
|
@@ -342,9 +346,9 @@ model ResponseItem {
|
|
|
342
346
|
@visibility(Lifecycle.Read)
|
|
343
347
|
role?: MessageRole;
|
|
344
348
|
|
|
345
|
-
/** The
|
|
349
|
+
/** The content of the message. Applies to `Message` items. Read-only. */
|
|
346
350
|
@visibility(Lifecycle.Read)
|
|
347
|
-
content?:
|
|
351
|
+
content?: Record<unknown>;
|
|
348
352
|
|
|
349
353
|
/** Identifier correlating a function call with its output. Applies to `FunctionCall` and `FunctionCallOutput` items. Read-only. */
|
|
350
354
|
@visibility(Lifecycle.Read)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.71.0-dev.
|
|
3
|
+
"version": "0.71.0-dev.8",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@azure-tools/typespec-azure-core": "^0.70.0 || >= 0.71.0-dev.3",
|
|
51
51
|
"@typespec/compiler": "^1.14.0",
|
|
52
|
+
"@typespec/http": "^1.14.0",
|
|
52
53
|
"@typespec/rest": "^0.84.0",
|
|
53
54
|
"@typespec/openapi": "^1.14.0",
|
|
54
|
-
"@typespec/versioning": "^0.84.0"
|
|
55
|
-
"@typespec/http": "^1.14.0"
|
|
55
|
+
"@typespec/versioning": "^0.84.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@azure-tools/typespec-azure-core": "^0.70.0 || >= 0.71.0-dev.3",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"typescript": "~6.0.2",
|
|
65
65
|
"vitest": "^4.1.3",
|
|
66
66
|
"@typespec/compiler": "^1.14.0",
|
|
67
|
-
"@typespec/library-linter": "^0.84.0",
|
|
68
|
-
"@typespec/rest": "^0.84.0",
|
|
69
|
-
"@typespec/tspd": "^0.76.0",
|
|
70
67
|
"@typespec/http": "^1.14.0",
|
|
68
|
+
"@typespec/rest": "^0.84.0",
|
|
69
|
+
"@typespec/library-linter": "^0.84.0",
|
|
71
70
|
"@typespec/versioning": "^0.84.0",
|
|
71
|
+
"@typespec/tspd": "^0.76.0",
|
|
72
72
|
"@typespec/openapi": "^1.14.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|