diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index c32ecef8..7d938cb9 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
- docChecksum: aee950fecf1c657983edfc4e58e7b866
+ docChecksum: 1801b0bec2093325c4d9fd832652a19f
docVersion: 0.9.0
- speakeasyVersion: 1.708.0
- generationVersion: 2.811.2
- releaseVersion: 0.12.2
- configChecksum: abe193f4f2a2796c5686ddf95338ac1e
+ speakeasyVersion: 1.709.1
+ generationVersion: 2.812.2
+ releaseVersion: 0.12.3
+ configChecksum: a666e2d6a67dda9dcb2768fb498d0944
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
- generation_id: c9318d9f-dc47-48aa-b7d4-cd62a9fc6cc2
- pristine_commit_hash: 9ed5b0473e198394f740d8fd5bc438b6f9bc9f91
- pristine_tree_hash: bcad196dc5edb7d2846ec11818628eaf3c1701d3
+ generation_id: b863971f-a83b-4dae-a22e-a9a5719ed7cd
+ pristine_commit_hash: 33c8205032764edb5b57c1f76d86d3ff42337328
+ pristine_tree_hash: aa54bb5ecaca26046e92b8668aef8c1426939aa6
features:
python:
additionalDependencies: 1.0.0
@@ -391,8 +391,8 @@ trackedFiles:
pristine_git_object: ebbb19511b46565159e552579219ca1125c069fa
docs/models/chatmessage.md:
id: 768623ba5622
- last_write_checksum: sha1:c177b8b6249caa3c0c26d3425df0cc2c9f5fe109
- pristine_git_object: 7d770c5ae1a7b743cbcd47367f75e852d7e6619e
+ last_write_checksum: sha1:de3b12dcf57e893d4facbfc151263895f807605f
+ pristine_git_object: 7134cbbbb0e874365e08c98808b1fbba6666cd59
docs/models/chatmessagecitation.md:
id: 081d0d2ead7a
last_write_checksum: sha1:d31f16dbc8f428b3013a6f1cb90b961ac354f8dc
@@ -2715,8 +2715,8 @@ trackedFiles:
pristine_git_object: 33c17ec92e441b6c363a28a5b7319df5a2ad94dd
pyproject.toml:
id: 5d07e7d72637
- last_write_checksum: sha1:7dc5cd0785a78e264621f6d62588527e5a09f7ca
- pristine_git_object: 090c699ac2a8aa2d284ada6cbb1118b82a03d6c3
+ last_write_checksum: sha1:22e4ef761ea61bbbba2a72818d327613730ff292
+ pristine_git_object: c7166b15e546760e49ad49e107a61fb0506b869c
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
@@ -2743,8 +2743,8 @@ trackedFiles:
pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64
src/glean/api_client/_version.py:
id: 0ce22b26136b
- last_write_checksum: sha1:338def8b7d9f4275dea092a43013e6f33dc201df
- pristine_git_object: 93b0bbc77a52bc1e9466738aeedb908a1ce01196
+ last_write_checksum: sha1:8151701bb040b0f9ab8d949154ab0ff4dfe12e4c
+ pristine_git_object: 7e9ac00c8fb0346d771b2c0cfec3caee21312adc
src/glean/api_client/agents.py:
id: b925701a9217
last_write_checksum: sha1:c1688c3d141db7707458f3ac7ff29c4a71e6812b
@@ -3115,8 +3115,8 @@ trackedFiles:
pristine_git_object: c9a17724686676e11d3633dfb11ad4ab9c1cce45
src/glean/api_client/models/chatmessage.py:
id: d1d93cc94501
- last_write_checksum: sha1:bb5643220a1605fa7c9da1db21858b12118765bf
- pristine_git_object: 5a5f17c7b400b55ee5b51053ca0726bf9c401727
+ last_write_checksum: sha1:c304ca980afd45ac4b48ba8afd1f01375e1e9ece
+ pristine_git_object: e99b483ab100e290691712f25bdb2b33de43f37a
src/glean/api_client/models/chatmessagecitation.py:
id: dae0d568e81c
last_write_checksum: sha1:7c16a46188a8fd6d03f22788a0d8b28788112922
@@ -5098,7 +5098,7 @@ trackedFiles:
tests/mockserver/internal/handler/pathpostrestapiv1createauthtoken.go:
last_write_checksum: sha1:6ce83ba03066acb436796c018d19715615f548c1
tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go:
- last_write_checksum: sha1:f9f4c718408bddadbdf826194f07970bb111e57e
+ last_write_checksum: sha1:14b4a1d98dd55ce2b487ae1aaab4a7dece08df25
tests/mockserver/internal/handler/pathpostrestapiv1createshortcut.go:
last_write_checksum: sha1:dcdf684a85e20db1aee571db9a54a3ee259d71d5
tests/mockserver/internal/handler/pathpostrestapiv1deleteallchats.go:
@@ -5312,7 +5312,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/chatfilestatus.go:
last_write_checksum: sha1:4f1e95ea4c1f64cfb9daab23820e907fe24f4efe
tests/mockserver/internal/sdk/models/components/chatmessage.go:
- last_write_checksum: sha1:1ee0ca5662402074d2303aa74531f433a288c82e
+ last_write_checksum: sha1:aa41b48667e9bd173818cc0df6016099b7dc1346
tests/mockserver/internal/sdk/models/components/chatmessagecitation.go:
last_write_checksum: sha1:c6225814e79eac17f90ebb8d86a98bb0038c20b6
tests/mockserver/internal/sdk/models/components/chatmessagefragment.go:
@@ -6417,8 +6417,8 @@ trackedFiles:
pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9
tests/test_messages.py:
id: be23089b1f8b
- last_write_checksum: sha1:bef200db8e7fff0aa33ef17846f5054a2d035a88
- pristine_git_object: 36643db35a2d2a3cf9d327379ee7a6cb30da51d0
+ last_write_checksum: sha1:5db8087e85104ab50b362638150fa1f6686a3c30
+ pristine_git_object: c0fd29dab7d365ef9d78c0c291b925e6b9fd7298
tests/test_people.py:
id: 37c243940039
last_write_checksum: sha1:7c7268ffeebe48d81ed25e9b1cfc3a395abf5c1f
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 43449862..ebde2e28 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -33,7 +33,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
- version: 0.12.2
+ version: 0.12.3
additionalDependencies:
dev: {}
main: {}
diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml
index 02e7e5fa..85007404 100644
--- a/.speakeasy/glean-merged-spec.yaml
+++ b/.speakeasy/glean-merged-spec.yaml
@@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
- x-source-commit-sha: 2a745f932cc47169f6ceb0e7b3e9869d02726cea
+ x-source-commit-sha: 407392ef2fd654fb67482339f8a879f76af9483b
description: |
# Introduction
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
- x-open-api-commit-sha: c9207631abff9271cdd02433399797f6ee15e063
+ x-open-api-commit-sha: 91ed89c1ff45d1ca2310a94b34b9d9d6465a0b12
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
@@ -7674,7 +7674,14 @@ components:
type: array
items:
$ref: "#/components/schemas/ChatMessageCitation"
- description: A list of Citations that were used to generate the response.
+ description: "Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility."
+ deprecated: true
+ x-glean-deprecated:
+ id: 6446f85e-c90e-4c00-9717-796f9db3dc61
+ introduced: "2026-02-06"
+ message: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility.
+ removal: "2026-10-15"
+ x-speakeasy-deprecation-message: "Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility."
uploadedFileIds:
type: array
items:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index 45775151..9f8c93fe 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,12 +1,12 @@
-speakeasyVersion: 1.708.0
+speakeasyVersion: 1.709.1
sources:
Glean API:
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
- sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
+ sourceRevisionDigest: sha256:8c33ff91e738a5bf2210ea80d95f4be28260339847e6a151194d200216c83bad
+ sourceBlobDigest: sha256:7469a0827d48dae129ec071d907631a7e8d8676697603e1a2ad614740c0895f2
tags:
- latest
- - speakeasy-sdk-regen-1770409581
+ - speakeasy-sdk-regen-1770418491
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
@@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
- sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
+ sourceRevisionDigest: sha256:8c33ff91e738a5bf2210ea80d95f4be28260339847e6a151194d200216c83bad
+ sourceBlobDigest: sha256:7469a0827d48dae129ec071d907631a7e8d8676697603e1a2ad614740c0895f2
codeSamplesNamespace: glean-api-specs-python-code-samples
- codeSamplesRevisionDigest: sha256:714a88487636e1f68c9866e8ea394f8bac5439f5d461c0f13d24f4d054c8a7c3
+ codeSamplesRevisionDigest: sha256:73dc56905e0c9febcf1f5ce6bfae9a104f63a61a1783928cc3660781df6c9f60
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
diff --git a/RELEASES.md b/RELEASES.md
index cd25ea66..fec01367 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -528,4 +528,14 @@ Based on:
### Generated
- [python v0.12.2] .
### Releases
-- [PyPI v0.12.2] https://pypi.org/project/glean-api-client/0.12.2 - .
\ No newline at end of file
+- [PyPI v0.12.2] https://pypi.org/project/glean-api-client/0.12.2 - .
+
+## 2026-02-09 02:26:00
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.709.1 (2.812.2) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [python v0.12.3] .
+### Releases
+- [PyPI v0.12.3] https://pypi.org/project/glean-api-client/0.12.3 - .
\ No newline at end of file
diff --git a/docs/models/chatmessage.md b/docs/models/chatmessage.md
index 7d770c5a..7134cbbb 100644
--- a/docs/models/chatmessage.md
+++ b/docs/models/chatmessage.md
@@ -5,15 +5,15 @@ A message that is rendered as one coherent unit with one given sender.
## Fields
-| Field | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `agent_config` | [Optional[models.AgentConfig]](../models/agentconfig.md) | :heavy_minus_sign: | Describes the agent that executes the request. |
-| `author` | [Optional[models.Author]](../models/author.md) | :heavy_minus_sign: | N/A |
-| `citations` | List[[models.ChatMessageCitation](../models/chatmessagecitation.md)] | :heavy_minus_sign: | A list of Citations that were used to generate the response. |
-| `uploaded_file_ids` | List[*str*] | :heavy_minus_sign: | IDs of files uploaded in the message that are referenced to generate the answer. |
-| `fragments` | List[[models.ChatMessageFragment](../models/chatmessagefragment.md)] | :heavy_minus_sign: | A list of rich data used to represent the response or formulate a request. These are linearly stitched together to support richer data formats beyond simple text. |
-| `ts` | *Optional[str]* | :heavy_minus_sign: | Response timestamp of the message. |
-| `message_id` | *Optional[str]* | :heavy_minus_sign: | A unique server-side generated ID used to identify a message, automatically populated for any USER authored messages. |
-| `message_tracking_token` | *Optional[str]* | :heavy_minus_sign: | Opaque tracking token generated server-side. |
-| `message_type` | [Optional[models.MessageType]](../models/messagetype.md) | :heavy_minus_sign: | Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified. |
-| ~~`has_more_fragments`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Signals there are additional response fragments incoming. |
\ No newline at end of file
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `agent_config` | [Optional[models.AgentConfig]](../models/agentconfig.md) | :heavy_minus_sign: | Describes the agent that executes the request. |
+| `author` | [Optional[models.Author]](../models/author.md) | :heavy_minus_sign: | N/A |
+| ~~`citations`~~ | List[[models.ChatMessageCitation](../models/chatmessagecitation.md)] | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility. |
+| `uploaded_file_ids` | List[*str*] | :heavy_minus_sign: | IDs of files uploaded in the message that are referenced to generate the answer. |
+| `fragments` | List[[models.ChatMessageFragment](../models/chatmessagefragment.md)] | :heavy_minus_sign: | A list of rich data used to represent the response or formulate a request. These are linearly stitched together to support richer data formats beyond simple text. |
+| `ts` | *Optional[str]* | :heavy_minus_sign: | Response timestamp of the message. |
+| `message_id` | *Optional[str]* | :heavy_minus_sign: | A unique server-side generated ID used to identify a message, automatically populated for any USER authored messages. |
+| `message_tracking_token` | *Optional[str]* | :heavy_minus_sign: | Opaque tracking token generated server-side. |
+| `message_type` | [Optional[models.MessageType]](../models/messagetype.md) | :heavy_minus_sign: | Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified. |
+| ~~`has_more_fragments`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Signals there are additional response fragments incoming. |
\ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index 090c699a..c7166b15 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
[project]
name = "glean-api-client"
-version = "0.12.2"
+version = "0.12.3"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." },]
readme = "README-PYPI.md"
diff --git a/src/glean/api_client/_version.py b/src/glean/api_client/_version.py
index 93b0bbc7..7e9ac00c 100644
--- a/src/glean/api_client/_version.py
+++ b/src/glean/api_client/_version.py
@@ -3,10 +3,10 @@
import importlib.metadata
__title__: str = "glean-api-client"
-__version__: str = "0.12.2"
+__version__: str = "0.12.3"
__openapi_doc_version__: str = "0.9.0"
-__gen_version__: str = "2.811.2"
-__user_agent__: str = "speakeasy-sdk/python 0.12.2 2.811.2 0.9.0 glean-api-client"
+__gen_version__: str = "2.812.2"
+__user_agent__: str = "speakeasy-sdk/python 0.12.3 2.812.2 0.9.0 glean-api-client"
try:
if __package__ is not None:
diff --git a/src/glean/api_client/models/chatmessage.py b/src/glean/api_client/models/chatmessage.py
index 5a5f17c7..e99b483a 100644
--- a/src/glean/api_client/models/chatmessage.py
+++ b/src/glean/api_client/models/chatmessage.py
@@ -47,7 +47,7 @@ class ChatMessageTypedDict(TypedDict):
r"""Describes the agent that executes the request."""
author: NotRequired[Author]
citations: NotRequired[List[ChatMessageCitationTypedDict]]
- r"""A list of Citations that were used to generate the response."""
+ r"""Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility."""
uploaded_file_ids: NotRequired[List[str]]
r"""IDs of files uploaded in the message that are referenced to generate the answer."""
fragments: NotRequired[List[ChatMessageFragmentTypedDict]]
@@ -74,8 +74,13 @@ class ChatMessage(BaseModel):
author: Optional[Author] = Author.USER
- citations: Optional[List[ChatMessageCitation]] = None
- r"""A list of Citations that were used to generate the response."""
+ citations: Annotated[
+ Optional[List[ChatMessageCitation]],
+ pydantic.Field(
+ deprecated="warning: ** DEPRECATED ** - Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility.."
+ ),
+ ] = None
+ r"""Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility."""
uploaded_file_ids: Annotated[
Optional[List[str]], pydantic.Field(alias="uploadedFileIds")
diff --git a/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go b/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go
index 5c99a0ad..371b9023 100644
--- a/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go
+++ b/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go
@@ -56,14 +56,14 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
operations.ResponseBody2{
Collection: &components.Collection{
Name: "",
- Description: "motionless whenever paintwork import over cuckoo",
+ Description: "whole busily jive hawk gee basic minus hence",
AddedRoles: []components.UserRoleSpecification{
components.UserRoleSpecification{
Person: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
},
- Role: components.UserRoleOwner,
+ Role: components.UserRoleAnswerModerator,
},
},
RemovedRoles: []components.UserRoleSpecification{
@@ -90,7 +90,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 363711,
+ ID: 158969,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -101,7 +101,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
Items: []components.CollectionItem{
components.CollectionItem{
- CollectionID: 570197,
+ CollectionID: 110375,
CreatedBy: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -266,13 +266,13 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
Name: "George Clooney",
ObfuscatedID: "abc123",
},
- Role: components.UserRoleAnswerModerator,
+ Role: components.UserRoleEditor,
},
},
},
Collection: &components.Collection{
Name: "",
- Description: "athwart skateboard newsstand farm bourgeoisie ah how elliptical aha well-to-do",
+ Description: "wedge colorfully orientate rally",
AudienceFilters: []components.FacetFilter{
components.FacetFilter{
FieldName: types.String("type"),
@@ -288,7 +288,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 643990,
+ ID: 131797,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -300,7 +300,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
Children: []components.Collection{
components.Collection{
Name: "",
- Description: "woot purse salty even as advanced",
+ Description: "outside yippee sidetrack mature regularly mouser inject worth",
AudienceFilters: []components.FacetFilter{
components.FacetFilter{
FieldName: types.String("type"),
@@ -316,7 +316,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 359978,
+ ID: 149448,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -328,7 +328,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ItemType: components.CollectionItemItemTypeURL,
+ ItemType: components.CollectionItemItemTypeCollection,
},
},
},
diff --git a/tests/mockserver/internal/sdk/models/components/chatmessage.go b/tests/mockserver/internal/sdk/models/components/chatmessage.go
index 3e9895b5..a3776ffc 100644
--- a/tests/mockserver/internal/sdk/models/components/chatmessage.go
+++ b/tests/mockserver/internal/sdk/models/components/chatmessage.go
@@ -87,7 +87,9 @@ type ChatMessage struct {
// Describes the agent that executes the request.
AgentConfig *AgentConfig `json:"agentConfig,omitempty"`
Author *Author `default:"USER" json:"author"`
- // A list of Citations that were used to generate the response.
+ // Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility.
+ //
+ // Deprecated: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
Citations []ChatMessageCitation `json:"citations,omitempty"`
// IDs of files uploaded in the message that are referenced to generate the answer.
UploadedFileIds []string `json:"uploadedFileIds,omitempty"`
diff --git a/tests/test_messages.py b/tests/test_messages.py
index 36643db3..c0fd29da 100644
--- a/tests/test_messages.py
+++ b/tests/test_messages.py
@@ -18,7 +18,7 @@ def test_messages_messages():
res = glean.client.messages.retrieve(
id_type=models.IDType.CONVERSATION_ID,
id="",
- datasource=models.Datasource.MICROSOFTTEAMS,
+ datasource=models.Datasource.SLACK,
timestamp_millis=558834,
)
assert res is not None