From 14b01055d5ce468cf968abd2b794ca5f453c2bbb Mon Sep 17 00:00:00 2001 From: Thomas Baker Date: Fri, 10 Oct 2025 17:28:15 -0400 Subject: [PATCH 1/3] remove base props, fix pagination config --- fern/fern.config.json | 2 +- www/static/vectara-oas-v2.yaml | 102 ++++++++++++++++----------------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/fern/fern.config.json b/fern/fern.config.json index cec02f39c..a42283d90 100644 --- a/fern/fern.config.json +++ b/fern/fern.config.json @@ -1,4 +1,4 @@ { "organization": "vectara", - "version": "0.65.20" + "version": "0.88.1" } \ No newline at end of file diff --git a/www/static/vectara-oas-v2.yaml b/www/static/vectara-oas-v2.yaml index a72569bd7..afddfd116 100644 --- a/www/static/vectara-oas-v2.yaml +++ b/www/static/vectara-oas-v2.yaml @@ -4372,7 +4372,7 @@ paths: x-fern-pagination: cursor: $request.page_key next_cursor: $response.metadata.page_key - results: $response.hallucinationCorrectionModels + results: $response.hallucination_correctors parameters: - $ref: '#/components/parameters/RequestTimeout' - $ref: '#/components/parameters/RequestTimeoutMillis' @@ -6685,31 +6685,31 @@ paths: - $ref: '#/components/schemas/ThinkingEvent' - $ref: '#/components/schemas/AgentOutputEvent' - $ref: '#/components/schemas/ContextLimitExceededEvent' - properties: - id: - description: The unique identifier for the event. - type: string - pattern: aev_[0-9a-zA-Z_-]+$ - example: aev_user_001 - session_key: - $ref: '#/components/schemas/AgentSessionKey' - description: The key of the session this event belongs to. - type: - description: The type of event. - type: string - enum: - - input_message - - tool_input - - tool_output - - thinking - - agent_output - - context_limit_exceeded - example: input_message - created_at: - description: Timestamp when the event was created. - type: string - format: date-time - example: '2024-01-15T10:35:00Z' + # properties: + # id: + # description: The unique identifier for the event. + # type: string + # pattern: aev_[0-9a-zA-Z_-]+$ + # example: aev_user_001 + # session_key: + # $ref: '#/components/schemas/AgentSessionKey' + # description: The key of the session this event belongs to. + # type: + # description: The type of event. + # type: string + # enum: + # - input_message + # - tool_input + # - tool_output + # - thinking + # - agent_output + # - context_limit_exceeded + # example: input_message + # created_at: + # description: Timestamp when the event was created. + # type: string + # format: date-time + # example: '2024-01-15T10:35:00Z' required: - id - session_key @@ -12602,31 +12602,31 @@ components: - $ref: '#/components/schemas/ThinkingEvent' - $ref: '#/components/schemas/AgentOutputEvent' - $ref: '#/components/schemas/ContextLimitExceededEvent' - properties: - id: - description: The unique identifier for the event. - type: string - pattern: aev_[0-9a-zA-Z_-]+$ - example: aev_user_001 - session_key: - $ref: '#/components/schemas/AgentSessionKey' - description: The key of the session this event belongs to. - type: - description: The type of event. - type: string - enum: - - input_message - - tool_input - - tool_output - - thinking - - agent_output - - context_limit_exceeded - example: input_message - created_at: - description: Timestamp when the event was created. - type: string - format: date-time - example: '2024-01-15T10:35:00Z' + # properties: + # id: + # description: The unique identifier for the event. + # type: string + # pattern: aev_[0-9a-zA-Z_-]+$ + # example: aev_user_001 + # session_key: + # $ref: '#/components/schemas/AgentSessionKey' + # description: The key of the session this event belongs to. + # type: + # description: The type of event. + # type: string + # enum: + # - input_message + # - tool_input + # - tool_output + # - thinking + # - agent_output + # - context_limit_exceeded + # example: input_message + # created_at: + # description: Timestamp when the event was created. + # type: string + # format: date-time + # example: '2024-01-15T10:35:00Z' required: - id - session_key From a6b3a7c6ad7e0ab0447f5bb0e77506a29b493024 Mon Sep 17 00:00:00 2001 From: Thomas Baker Date: Thu, 6 Nov 2025 16:37:15 -0500 Subject: [PATCH 2/3] use overrides to fix --- fern/generators.yml | 1 + www/static/vectara-oas-v2-overrides.yaml | 11 +++ www/static/vectara-oas-v2.yaml | 100 +++++++++++------------ 3 files changed, 62 insertions(+), 50 deletions(-) create mode 100644 www/static/vectara-oas-v2-overrides.yaml diff --git a/fern/generators.yml b/fern/generators.yml index e79b5b626..7338316c9 100644 --- a/fern/generators.yml +++ b/fern/generators.yml @@ -25,6 +25,7 @@ api: env: VECTARA_API_KEY specs: - openapi: ../www/static/vectara-oas-v2.yaml + overrides: ../www/static/vectara-oas-v2-overrides.yaml readme: apiReferenceLink: https://vectara.docs.buildwithfern.com/ defaultEndpoint: POST /v2/query diff --git a/www/static/vectara-oas-v2-overrides.yaml b/www/static/vectara-oas-v2-overrides.yaml new file mode 100644 index 000000000..2a83cd4c7 --- /dev/null +++ b/www/static/vectara-oas-v2-overrides.yaml @@ -0,0 +1,11 @@ +paths: + /v2/agents/{agent_key}/sessions/{session_key}/events: + post: + x-fern-streaming: + response: + properties: null + +components: + schemas: + AgentEvent: + properties: null diff --git a/www/static/vectara-oas-v2.yaml b/www/static/vectara-oas-v2.yaml index afddfd116..61bc74104 100644 --- a/www/static/vectara-oas-v2.yaml +++ b/www/static/vectara-oas-v2.yaml @@ -6685,31 +6685,31 @@ paths: - $ref: '#/components/schemas/ThinkingEvent' - $ref: '#/components/schemas/AgentOutputEvent' - $ref: '#/components/schemas/ContextLimitExceededEvent' - # properties: - # id: - # description: The unique identifier for the event. - # type: string - # pattern: aev_[0-9a-zA-Z_-]+$ - # example: aev_user_001 - # session_key: - # $ref: '#/components/schemas/AgentSessionKey' - # description: The key of the session this event belongs to. - # type: - # description: The type of event. - # type: string - # enum: - # - input_message - # - tool_input - # - tool_output - # - thinking - # - agent_output - # - context_limit_exceeded - # example: input_message - # created_at: - # description: Timestamp when the event was created. - # type: string - # format: date-time - # example: '2024-01-15T10:35:00Z' + properties: + id: + description: The unique identifier for the event. + type: string + pattern: aev_[0-9a-zA-Z_-]+$ + example: aev_user_001 + session_key: + $ref: '#/components/schemas/AgentSessionKey' + description: The key of the session this event belongs to. + type: + description: The type of event. + type: string + enum: + - input_message + - tool_input + - tool_output + - thinking + - agent_output + - context_limit_exceeded + example: input_message + created_at: + description: Timestamp when the event was created. + type: string + format: date-time + example: '2024-01-15T10:35:00Z' required: - id - session_key @@ -12602,31 +12602,31 @@ components: - $ref: '#/components/schemas/ThinkingEvent' - $ref: '#/components/schemas/AgentOutputEvent' - $ref: '#/components/schemas/ContextLimitExceededEvent' - # properties: - # id: - # description: The unique identifier for the event. - # type: string - # pattern: aev_[0-9a-zA-Z_-]+$ - # example: aev_user_001 - # session_key: - # $ref: '#/components/schemas/AgentSessionKey' - # description: The key of the session this event belongs to. - # type: - # description: The type of event. - # type: string - # enum: - # - input_message - # - tool_input - # - tool_output - # - thinking - # - agent_output - # - context_limit_exceeded - # example: input_message - # created_at: - # description: Timestamp when the event was created. - # type: string - # format: date-time - # example: '2024-01-15T10:35:00Z' + properties: + id: + description: The unique identifier for the event. + type: string + pattern: aev_[0-9a-zA-Z_-]+$ + example: aev_user_001 + session_key: + $ref: '#/components/schemas/AgentSessionKey' + description: The key of the session this event belongs to. + type: + description: The type of event. + type: string + enum: + - input_message + - tool_input + - tool_output + - thinking + - agent_output + - context_limit_exceeded + example: input_message + created_at: + description: Timestamp when the event was created. + type: string + format: date-time + example: '2024-01-15T10:35:00Z' required: - id - session_key From c30a4a01768adc7bb8483683c4001f0b7139c786 Mon Sep 17 00:00:00 2001 From: Thomas Baker Date: Thu, 6 Nov 2025 16:39:09 -0500 Subject: [PATCH 3/3] remove fern upgrade --- fern/fern.config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/fern.config.json b/fern/fern.config.json index a42283d90..cec02f39c 100644 --- a/fern/fern.config.json +++ b/fern/fern.config.json @@ -1,4 +1,4 @@ { "organization": "vectara", - "version": "0.88.1" + "version": "0.65.20" } \ No newline at end of file