Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 9 additions & 10 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
lockVersion: 2.0.0
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
management:
docChecksum: 5a4cd8de1e6ca5f701ac27e244d09799
docChecksum: 30752ad325475357749711c885ecb81f
docVersion: 0.9.0
speakeasyVersion: 1.636.3
generationVersion: 2.723.11
releaseVersion: 0.10.7
configChecksum: 72d9151877c585b3c754e083d3c839ed
speakeasyVersion: 1.638.0
generationVersion: 2.728.0
releaseVersion: 0.11.0
configChecksum: d157cb95dffa505a3cbd4f357c97d5f3
repoURL: https://github.com/gleanwork/api-client-java.git
published: true
features:
java:
additionalDependencies: 0.1.0
additionalProperties: 0.0.1
constsAndDefaults: 0.1.1
core: 3.52.3
core: 3.53.0
deprecations: 2.81.1
examples: 2.81.6
flattening: 2.81.1
Expand Down Expand Up @@ -1399,13 +1399,12 @@ generatedFiles:
- src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionType.java
- src/main/java/com/glean/api_client/glean_api_client/models/components/WritePermission.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/APIException.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/AsyncAPIException.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/AuthException.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/CollectionError.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorCode.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanDataError.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/UncheckedAPIException.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/async/CollectionError.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/async/GleanDataError.java
- src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanError.java
- src/main/java/com/glean/api_client/glean_api_client/models/operations//async/ActivityRequestBuilder.java
- src/main/java/com/glean/api_client/glean_api_client/models/operations//async/AddcollectionitemsRequestBuilder.java
- src/main/java/com/glean/api_client/glean_api_client/models/operations//async/AddverificationreminderRequestBuilder.java
Expand Down Expand Up @@ -2898,4 +2897,4 @@ generatedTests:
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
listpolicies: "2025-06-09T18:03:44Z"
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.messages.retrieve()`: \n * `request.datasource` **Changed** **Breaking** :warning:\n"
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.chat.create()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n * `response.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.retrieve()`: `response.chatresult.chat.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n"
4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.10.7
version: 0.11.0
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
Expand Down
87 changes: 48 additions & 39 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7047,6 +7047,9 @@ components:
enum:
- DEFAULT
- QUICK
useImageGeneration:
type: boolean
description: Whether the agent should create an image.
ChatFileStatus:
type: string
description: Current status of the file.
Expand Down Expand Up @@ -7427,6 +7430,19 @@ components:
deprecated: true
type: boolean
description: Signals there are additional response fragments incoming.
ChatRequestBase:
required:
- messages
description: The minimal set of fields that form a chat request.
properties:
messages:
type: array
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
items:
$ref: "#/components/schemas/ChatMessage"
sessionInfo:
description: Optional object for tracking the session used by the client and for debugging purposes.
$ref: "#/components/schemas/SessionInfo"
ChatRestrictionFilters:
allOf:
- $ref: "#/components/schemas/RestrictionFilters"
Expand All @@ -7441,45 +7457,38 @@ components:
items:
type: string
ChatRequest:
required:
- messages
properties:
saveChat:
type: boolean
description: Save the current interaction as a Chat for the user to access and potentially continue later.
chatId:
type: string
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
messages:
type: array
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
items:
$ref: "#/components/schemas/ChatMessage"
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
inclusions:
$ref: "#/components/schemas/ChatRestrictionFilters"
description: A list of filters which only allows chat to access certain content.
exclusions:
$ref: "#/components/schemas/ChatRestrictionFilters"
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
timeoutMillis:
type: integer
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
example: 30000
sessionInfo:
description: Optional object for tracking the session used by the client and for debugging purposes.
$ref: "#/components/schemas/SessionInfo"
applicationId:
type: string
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
agentId:
type: string
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
stream:
type: boolean
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
allOf:
- $ref: "#/components/schemas/ChatRequestBase"
- type: object
properties:
saveChat:
type: boolean
description: Save the current interaction as a Chat for the user to access and potentially continue later.
chatId:
type: string
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
inclusions:
$ref: "#/components/schemas/ChatRestrictionFilters"
description: A list of filters which only allows chat to access certain content.
exclusions:
$ref: "#/components/schemas/ChatRestrictionFilters"
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
timeoutMillis:
type: integer
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
example: 30000
applicationId:
type: string
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
agentId:
type: string
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
stream:
type: boolean
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
ChatResponse:
description: A single response from the /chat backend.
properties:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.636.3
speakeasyVersion: 1.638.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
tags:
- latest
- speakeasy-sdk-regen-1760583309
- speakeasy-sdk-regen-1760999718
Glean-OAS:
sourceNamespace: glean-oas
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
Expand All @@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:6ad4d669d9dc57c797cb957b4df98add20e4a1d354721a149a7fb238aed1b410
codeSamplesRevisionDigest: sha256:c2434da636608284eac3a35c0d25ff20ef11d590a751ee0ba44bfbcb007a9d6f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading