Skip to content

Commit 68c992b

Browse files
committed
## Java SDK Changes:
* `glean.chat.create()`: * `request.input.union(Array<PlatformChatInputMessage>)[].role` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `glean.client.search.retrieveFeed()`: * `request.feedRequest.categories[].enum(knowledgeGap)` **Added** * `response.results[]` **Changed**
1 parent 77ced60 commit 68c992b

52 files changed

Lines changed: 460 additions & 397 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/gen.lock

Lines changed: 102 additions & 101 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: false
3131
skipResponseBodyAssertions: false
3232
java:
33-
version: 0.15.0
33+
version: 0.15.1
3434
additionalDependencies: []
3535
additionalPlugins: []
3636
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 106 additions & 90 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.792.0
1+
speakeasyVersion: 1.793.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:ca77ef4550d695da210e8f0d32f3422d29e9d09f7aa66f7b13d248c6ec8c7941
6-
sourceBlobDigest: sha256:469de4cd2c8ab4928c3989656bf63cc265a8ceea5a8b3e3498734137b19723f8
5+
sourceRevisionDigest: sha256:d13c31da5ca27c98a1af21e210409e81b4f0c82ccce67a3240aa64cf7baf9b89
6+
sourceBlobDigest: sha256:bcbdd011dbf9086f67ebe91eaf040f8df34b5a93e58e571259303798fc22881d
77
tags:
88
- latest
99
Glean-OAS:
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:ca77ef4550d695da210e8f0d32f3422d29e9d09f7aa66f7b13d248c6ec8c7941
21-
sourceBlobDigest: sha256:469de4cd2c8ab4928c3989656bf63cc265a8ceea5a8b3e3498734137b19723f8
20+
sourceRevisionDigest: sha256:d13c31da5ca27c98a1af21e210409e81b4f0c82ccce67a3240aa64cf7baf9b89
21+
sourceBlobDigest: sha256:bcbdd011dbf9086f67ebe91eaf040f8df34b5a93e58e571259303798fc22881d
2222
codeSamplesNamespace: glean-api-specs-java-code-samples
23-
codeSamplesRevisionDigest: sha256:5fbed682e9333e60d93f5f07c63f0d7fdc8acd1952e1de357f11df78fb76a399
23+
codeSamplesRevisionDigest: sha256:3fb9e25c6a4584331beac3d026c3a1897e1e9a78b3cfe90a02411d2662dad77f
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ The samples below show how a published SDK artifact is used:
6767

6868
Gradle:
6969
```groovy
70-
implementation 'com.glean.api-client:glean-api-client:0.15.0'
70+
implementation 'com.glean.api-client:glean-api-client:0.15.1'
7171
```
7272

7373
Maven:
7474
```xml
7575
<dependency>
7676
<groupId>com.glean.api-client</groupId>
7777
<artifactId>glean-api-client</artifactId>
78-
<version>0.15.0</version>
78+
<version>0.15.1</version>
7979
</dependency>
8080
```
8181

@@ -614,8 +614,8 @@ For more information on obtaining the appropriate token type, please contact you
614614

615615
* [create](docs/sdks/skills/README.md#create) - Create skill
616616
* [list](docs/sdks/skills/README.md#list) - List skills
617-
* [validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
618617
* [import_](docs/sdks/skills/README.md#import_) - Import skills from GitHub
618+
* [validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
619619
* [previewSource](docs/sdks/skills/README.md#previewsource) - Preview a GitHub skill source
620620
* [update](docs/sdks/skills/README.md#update) - Update skill
621621
* [delete](docs/sdks/skills/README.md#delete) - Delete skill

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,4 +818,14 @@ Based on:
818818
### Generated
819819
- [java v0.15.0] .
820820
### Releases
821-
- [Maven Central v0.15.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.15.0 - .
821+
- [Maven Central v0.15.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.15.0 - .
822+
823+
## 2026-08-13 21:43:46
824+
### Changes
825+
Based on:
826+
- OpenAPI Doc
827+
- Speakeasy CLI 1.793.1 (2.928.0) https://github.com/speakeasy-api/speakeasy
828+
### Generated
829+
- [java v0.15.1] .
830+
### Releases
831+
- [Maven Central v0.15.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.15.1 - .

docs/models/components/FeedRequestCategory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ FeedRequestCategory value = FeedRequestCategory.DOCUMENT_SUGGESTION;
5757
| `DEMO_CARD` | DEMO_CARD |
5858
| `OOO_PLANNER` | OOO_PLANNER |
5959
| `OOO_CATCH_UP` | OOO_CATCH_UP |
60-
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
60+
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
61+
| `KNOWLEDGE_GAP` | KNOWLEDGE_GAP |

docs/models/components/FeedResult.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8-
| `category` | [FeedResultCategory](../../models/components/FeedResultCategory.md) | :heavy_check_mark: | Category of the result, one of the requested categories in incoming request. |
9-
| `primaryEntry` | [FeedEntry](../../models/components/FeedEntry.md) | :heavy_check_mark: | N/A |
10-
| `secondaryEntries` | List\<[FeedEntry](../../models/components/FeedEntry.md)> | :heavy_minus_sign: | Secondary entries for the result e.g. suggested docs for the calendar, carousel. |
11-
| `rank` | *Optional\<Long>* | :heavy_minus_sign: | Rank of the result. Rank is suggested by server. Client side rank may differ. |
12-
| `placementReason` | [Optional\<PlacementReason>](../../models/components/PlacementReason.md) | :heavy_minus_sign: | Placement source for ranked feed results. ORGANIC means the card was emitted by normal feed ranking. PROMO means the card was inserted by the homepage cards promo framework. |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `category` | [FeedResultCategory](../../models/components/FeedResultCategory.md) | :heavy_check_mark: | Category of the result, one of the requested categories in incoming request. |
9+
| `primaryEntry` | [FeedEntry](../../models/components/FeedEntry.md) | :heavy_check_mark: | N/A |
10+
| `secondaryEntries` | List\<[FeedEntry](../../models/components/FeedEntry.md)> | :heavy_minus_sign: | Secondary entries for the result e.g. suggested docs for the calendar, carousel. |
11+
| `rank` | *Optional\<Long>* | :heavy_minus_sign: | Rank of the result. Rank is suggested by server. Client side rank may differ. |
12+
| `placementReason` | [Optional\<PlacementReason>](../../models/components/PlacementReason.md) | :heavy_minus_sign: | Placement source for ranked feed results. ORGANIC means the card was emitted by normal feed ranking. PROMO means the card was inserted by the homepage cards promo framework. PINNED means the card was moved to the head of the ranked stack (e.g. knowledge-gap pilot cards). |

docs/models/components/FeedResultCategory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ FeedResultCategory custom = FeedResultCategory.of("custom_value");
6262
| `DEMO_CARD` | DEMO_CARD |
6363
| `OOO_PLANNER` | OOO_PLANNER |
6464
| `OOO_CATCH_UP` | OOO_CATCH_UP |
65-
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
65+
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
66+
| `KNOWLEDGE_GAP` | KNOWLEDGE_GAP |

docs/models/components/Input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Input
22

3-
Either a plain string (single user turn) or a chronological array of `user`/`assistant` messages. The final array message must be `user`.
3+
Either a plain string (single user turn) or a chronological array of `USER`/`ASSISTANT` messages. The final array message must be `USER`.
44

55

0 commit comments

Comments
 (0)