Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(models): start_date type to datetime in fern (#3742)

Hassieb Pakzad34a4a22cbad6
diff --git a/fern/apis/server/definition/models.yml b/fern/apis/server/definition/models.yml
index 670eae2d19..bcd5f95649 100644
--- a/fern/apis/server/definition/models.yml
+++ b/fern/apis/server/definition/models.yml
@@ -55,7 +55,7 @@ types:
type: string
startDate:
docs: Apply only to generations which are newer than this ISO date.
- type: optional<date>
+ type: optional<datetime>
unit:
docs: Unit used by this model.
type: commons.ModelUsageUnit
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index a4ba969744..37540f64d1 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -3625,7 +3625,7 @@ components:
to exact match, use `(?i)^modelname$`
startDate:
type: string
- format: date
+ format: date-time
nullable: true
description: Apply only to generations which are newer than this ISO date.
unit:
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 1828c51bd9..7b3c9289ce 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -563,7 +563,7 @@
"auth": null,
"body": {
"mode": "raw",
- "raw": "{\n \"modelName\": \"example\",\n \"matchPattern\": \"example\",\n \"startDate\": \"1994-11-05\",\n \"unit\": \"CHARACTERS\",\n \"inputPrice\": 0,\n \"outputPrice\": 0,\n \"totalPrice\": 0,\n \"tokenizerId\": \"example\",\n \"tokenizerConfig\": \"UNKNOWN\"\n}",
+ "raw": "{\n \"modelName\": \"example\",\n \"matchPattern\": \"example\",\n \"startDate\": \"1994-11-05T13:15:30Z\",\n \"unit\": \"CHARACTERS\",\n \"inputPrice\": 0,\n \"outputPrice\": 0,\n \"totalPrice\": 0,\n \"tokenizerId\": \"example\",\n \"tokenizerConfig\": \"UNKNOWN\"\n}",
"options": {
"raw": {
"language": "json"