@iblai/iblai-api 4.412.0-ai → 4.413.0-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.412.0-ai-plus',
113
+ VERSION: '4.413.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '4.412.0-ai-plus',
111
+ VERSION: '4.413.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '4.412.0-ai-plus',
117
+ VERSION: '4.413.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -43,6 +43,10 @@ export type Conversations = {
43
43
  */
44
44
  disable_chathistory?: boolean;
45
45
  llm_name?: string | null;
46
+ /**
47
+ * True when `llm_name`/`llm_provider` hold an LLM the student picked in-chat (via Mentor.enable_in_chat_llm_change), rather than resolver metadata. When set, the inference resolver uses these values for the session's turns and does not overwrite them with the mentor's LLM. Nullable for rolling deploys; NULL is treated as False at read time.
48
+ */
49
+ llm_user_selected?: boolean | null;
46
50
  metadata?: any;
47
51
  /**
48
52
  * AI-generated title summarizing the conversation
@@ -127,6 +127,22 @@ export type Mentor = {
127
127
  * Show reasoning on mentor.
128
128
  */
129
129
  show_reasoning?: boolean;
130
+ /**
131
+ * Show the user's most recent conversation by default when the mentor is opened, so a new chat continues the last one instead of starting fresh. Off by default. Nullable for rolling deploys; NULL is treated as off at read time.
132
+ */
133
+ show_last_conversation?: boolean | null;
134
+ /**
135
+ * Whether a chat-time `document_filter` payload is honored for this mentor. Off by default: user-submitted document filters are ignored unless an admin turns this on. Nullable for rolling deploys; NULL is treated as off at read time.
136
+ */
137
+ enable_document_filter?: boolean | null;
138
+ /**
139
+ * Turn off end-user chat-privacy controls for this mentor. When on, the client hides the privacy-mode button and the API rejects any attempt to make a conversation private on this mentor — disabling a session's chat history or starting a private session returns 403. Off by default: users keep the privacy controls the tenant allows. Nullable for rolling deploys; NULL is treated as off at read time.
140
+ */
141
+ disable_privacy_mode?: boolean | null;
142
+ /**
143
+ * Let a student pick a different LLM for their current session from the chat UI, without changing this mentor's own `llm_name`/`llm_provider`. When on, an in-chat `llm_provider`/`llm_name` is validated against the tenant's credentials, stored on the session, and used for that session's turns (newest choice wins and persists until changed). Off by default: the mentor's LLM is always used. Nullable for rolling deploys; NULL is treated as off at read time.
144
+ */
145
+ enable_in_chat_llm_change?: boolean | null;
130
146
  /**
131
147
  * Type of starter prompts to show: guided_prompt or suggested_prompt.
132
148
  *
@@ -105,6 +105,22 @@ export type MentorCreate = {
105
105
  * Show reasoning on mentor.
106
106
  */
107
107
  show_reasoning?: boolean;
108
+ /**
109
+ * Show the user's most recent conversation by default when the mentor is opened, so a new chat continues the last one instead of starting fresh. Off by default. Nullable for rolling deploys; NULL is treated as off at read time.
110
+ */
111
+ show_last_conversation?: boolean | null;
112
+ /**
113
+ * Whether a chat-time `document_filter` payload is honored for this mentor. Off by default: user-submitted document filters are ignored unless an admin turns this on. Nullable for rolling deploys; NULL is treated as off at read time.
114
+ */
115
+ enable_document_filter?: boolean | null;
116
+ /**
117
+ * Turn off end-user chat-privacy controls for this mentor. When on, the client hides the privacy-mode button and the API rejects any attempt to make a conversation private on this mentor — disabling a session's chat history or starting a private session returns 403. Off by default: users keep the privacy controls the tenant allows. Nullable for rolling deploys; NULL is treated as off at read time.
118
+ */
119
+ disable_privacy_mode?: boolean | null;
120
+ /**
121
+ * Let a student pick a different LLM for their current session from the chat UI, without changing this mentor's own `llm_name`/`llm_provider`. When on, an in-chat `llm_provider`/`llm_name` is validated against the tenant's credentials, stored on the session, and used for that session's turns (newest choice wins and persists until changed). Off by default: the mentor's LLM is always used. Nullable for rolling deploys; NULL is treated as off at read time.
122
+ */
123
+ enable_in_chat_llm_change?: boolean | null;
108
124
  /**
109
125
  * Type of starter prompts to show: guided_prompt or suggested_prompt.
110
126
  *
@@ -50,6 +50,10 @@ export type MentorFromTemplateWithSettingRequest = {
50
50
  show_rag_images?: boolean;
51
51
  show_catalogue?: boolean;
52
52
  show_reasoning?: boolean;
53
+ show_last_conversation?: boolean;
54
+ enable_document_filter?: boolean;
55
+ disable_privacy_mode?: boolean;
56
+ enable_in_chat_llm_change?: boolean;
53
57
  starter_prompts?: StarterPrompts8c6Enum;
54
58
  embed_is_context_aware?: boolean;
55
59
  embed_open_by_default?: boolean;
@@ -56,6 +56,10 @@ export type MentorSettings = {
56
56
  readonly show_rag_images: boolean;
57
57
  readonly show_catalogue: boolean;
58
58
  readonly show_reasoning: boolean;
59
+ readonly show_last_conversation: boolean;
60
+ readonly enable_document_filter: boolean;
61
+ readonly disable_privacy_mode: boolean;
62
+ readonly enable_in_chat_llm_change: boolean;
59
63
  readonly starter_prompts: string;
60
64
  readonly embed_is_context_aware: boolean;
61
65
  readonly embed_open_by_default: boolean;
@@ -53,6 +53,10 @@ export type MentorSettingsPublic = {
53
53
  readonly show_rag_images: boolean;
54
54
  readonly show_catalogue: boolean;
55
55
  readonly show_reasoning: boolean;
56
+ readonly show_last_conversation: boolean;
57
+ readonly enable_document_filter: boolean;
58
+ readonly disable_privacy_mode: boolean;
59
+ readonly enable_in_chat_llm_change: boolean;
56
60
  readonly starter_prompts: string;
57
61
  readonly embed_is_context_aware: boolean;
58
62
  readonly embed_open_by_default: boolean;
@@ -20,6 +20,7 @@ export type MentorSettingsRequest = {
20
20
  llm_name?: string;
21
21
  featured?: boolean;
22
22
  disable_chathistory?: boolean;
23
+ disable_privacy_mode?: boolean;
23
24
  strip_page_content_html?: boolean;
24
25
  enable_computational_runtime?: boolean;
25
26
  chat_history_max_tokens?: number | null;
@@ -87,6 +88,9 @@ export type MentorSettingsRequest = {
87
88
  show_rag_images?: boolean;
88
89
  show_catalogue?: boolean;
89
90
  show_reasoning?: boolean;
91
+ show_last_conversation?: boolean;
92
+ enable_document_filter?: boolean;
93
+ enable_in_chat_llm_change?: boolean;
90
94
  starter_prompts?: StarterPrompts8c6Enum;
91
95
  embed_is_context_aware?: boolean;
92
96
  embed_open_by_default?: boolean;
@@ -43,6 +43,10 @@ export type PatchedConversations = {
43
43
  */
44
44
  disable_chathistory?: boolean;
45
45
  llm_name?: string | null;
46
+ /**
47
+ * True when `llm_name`/`llm_provider` hold an LLM the student picked in-chat (via Mentor.enable_in_chat_llm_change), rather than resolver metadata. When set, the inference resolver uses these values for the session's turns and does not overwrite them with the mentor's LLM. Nullable for rolling deploys; NULL is treated as False at read time.
48
+ */
49
+ llm_user_selected?: boolean | null;
46
50
  metadata?: any;
47
51
  /**
48
52
  * AI-generated title summarizing the conversation
@@ -105,6 +105,22 @@ export type PatchedMentorCreate = {
105
105
  * Show reasoning on mentor.
106
106
  */
107
107
  show_reasoning?: boolean;
108
+ /**
109
+ * Show the user's most recent conversation by default when the mentor is opened, so a new chat continues the last one instead of starting fresh. Off by default. Nullable for rolling deploys; NULL is treated as off at read time.
110
+ */
111
+ show_last_conversation?: boolean | null;
112
+ /**
113
+ * Whether a chat-time `document_filter` payload is honored for this mentor. Off by default: user-submitted document filters are ignored unless an admin turns this on. Nullable for rolling deploys; NULL is treated as off at read time.
114
+ */
115
+ enable_document_filter?: boolean | null;
116
+ /**
117
+ * Turn off end-user chat-privacy controls for this mentor. When on, the client hides the privacy-mode button and the API rejects any attempt to make a conversation private on this mentor — disabling a session's chat history or starting a private session returns 403. Off by default: users keep the privacy controls the tenant allows. Nullable for rolling deploys; NULL is treated as off at read time.
118
+ */
119
+ disable_privacy_mode?: boolean | null;
120
+ /**
121
+ * Let a student pick a different LLM for their current session from the chat UI, without changing this mentor's own `llm_name`/`llm_provider`. When on, an in-chat `llm_provider`/`llm_name` is validated against the tenant's credentials, stored on the session, and used for that session's turns (newest choice wins and persists until changed). Off by default: the mentor's LLM is always used. Nullable for rolling deploys; NULL is treated as off at read time.
122
+ */
123
+ enable_in_chat_llm_change?: boolean | null;
108
124
  /**
109
125
  * Type of starter prompts to show: guided_prompt or suggested_prompt.
110
126
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.412.0-ai",
3
+ "version": "4.413.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.412.0-ai-plus
4
+ version: 4.413.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -102928,6 +102928,14 @@ components:
102928
102928
  type: string
102929
102929
  nullable: true
102930
102930
  maxLength: 255
102931
+ llm_user_selected:
102932
+ type: boolean
102933
+ nullable: true
102934
+ description: True when `llm_name`/`llm_provider` hold an LLM the student
102935
+ picked in-chat (via Mentor.enable_in_chat_llm_change), rather than resolver
102936
+ metadata. When set, the inference resolver uses these values for the session's
102937
+ turns and does not overwrite them with the mentor's LLM. Nullable for
102938
+ rolling deploys; NULL is treated as False at read time.
102931
102939
  metadata:
102932
102940
  nullable: true
102933
102941
  title:
@@ -111144,6 +111152,39 @@ components:
111144
111152
  show_reasoning:
111145
111153
  type: boolean
111146
111154
  description: Show reasoning on mentor.
111155
+ show_last_conversation:
111156
+ type: boolean
111157
+ nullable: true
111158
+ description: Show the user's most recent conversation by default when the
111159
+ mentor is opened, so a new chat continues the last one instead of starting
111160
+ fresh. Off by default. Nullable for rolling deploys; NULL is treated as
111161
+ off at read time.
111162
+ enable_document_filter:
111163
+ type: boolean
111164
+ nullable: true
111165
+ description: 'Whether a chat-time `document_filter` payload is honored for
111166
+ this mentor. Off by default: user-submitted document filters are ignored
111167
+ unless an admin turns this on. Nullable for rolling deploys; NULL is treated
111168
+ as off at read time.'
111169
+ disable_privacy_mode:
111170
+ type: boolean
111171
+ nullable: true
111172
+ description: 'Turn off end-user chat-privacy controls for this mentor. When
111173
+ on, the client hides the privacy-mode button and the API rejects any attempt
111174
+ to make a conversation private on this mentor — disabling a session''s
111175
+ chat history or starting a private session returns 403. Off by default:
111176
+ users keep the privacy controls the tenant allows. Nullable for rolling
111177
+ deploys; NULL is treated as off at read time.'
111178
+ enable_in_chat_llm_change:
111179
+ type: boolean
111180
+ nullable: true
111181
+ description: 'Let a student pick a different LLM for their current session
111182
+ from the chat UI, without changing this mentor''s own `llm_name`/`llm_provider`.
111183
+ When on, an in-chat `llm_provider`/`llm_name` is validated against the
111184
+ tenant''s credentials, stored on the session, and used for that session''s
111185
+ turns (newest choice wins and persists until changed). Off by default:
111186
+ the mentor''s LLM is always used. Nullable for rolling deploys; NULL is
111187
+ treated as off at read time.'
111147
111188
  starter_prompts:
111148
111189
  allOf:
111149
111190
  - $ref: '#/components/schemas/StarterPromptsB04Enum'
@@ -111642,6 +111683,39 @@ components:
111642
111683
  show_reasoning:
111643
111684
  type: boolean
111644
111685
  description: Show reasoning on mentor.
111686
+ show_last_conversation:
111687
+ type: boolean
111688
+ nullable: true
111689
+ description: Show the user's most recent conversation by default when the
111690
+ mentor is opened, so a new chat continues the last one instead of starting
111691
+ fresh. Off by default. Nullable for rolling deploys; NULL is treated as
111692
+ off at read time.
111693
+ enable_document_filter:
111694
+ type: boolean
111695
+ nullable: true
111696
+ description: 'Whether a chat-time `document_filter` payload is honored for
111697
+ this mentor. Off by default: user-submitted document filters are ignored
111698
+ unless an admin turns this on. Nullable for rolling deploys; NULL is treated
111699
+ as off at read time.'
111700
+ disable_privacy_mode:
111701
+ type: boolean
111702
+ nullable: true
111703
+ description: 'Turn off end-user chat-privacy controls for this mentor. When
111704
+ on, the client hides the privacy-mode button and the API rejects any attempt
111705
+ to make a conversation private on this mentor — disabling a session''s
111706
+ chat history or starting a private session returns 403. Off by default:
111707
+ users keep the privacy controls the tenant allows. Nullable for rolling
111708
+ deploys; NULL is treated as off at read time.'
111709
+ enable_in_chat_llm_change:
111710
+ type: boolean
111711
+ nullable: true
111712
+ description: 'Let a student pick a different LLM for their current session
111713
+ from the chat UI, without changing this mentor''s own `llm_name`/`llm_provider`.
111714
+ When on, an in-chat `llm_provider`/`llm_name` is validated against the
111715
+ tenant''s credentials, stored on the session, and used for that session''s
111716
+ turns (newest choice wins and persists until changed). Off by default:
111717
+ the mentor''s LLM is always used. Nullable for rolling deploys; NULL is
111718
+ treated as off at read time.'
111645
111719
  starter_prompts:
111646
111720
  allOf:
111647
111721
  - $ref: '#/components/schemas/StarterPromptsB04Enum'
@@ -112161,6 +112235,14 @@ components:
112161
112235
  show_reasoning:
112162
112236
  type: boolean
112163
112237
  default: true
112238
+ show_last_conversation:
112239
+ type: boolean
112240
+ enable_document_filter:
112241
+ type: boolean
112242
+ disable_privacy_mode:
112243
+ type: boolean
112244
+ enable_in_chat_llm_change:
112245
+ type: boolean
112164
112246
  starter_prompts:
112165
112247
  allOf:
112166
112248
  - $ref: '#/components/schemas/StarterPrompts8c6Enum'
@@ -112725,6 +112807,18 @@ components:
112725
112807
  show_reasoning:
112726
112808
  type: boolean
112727
112809
  readOnly: true
112810
+ show_last_conversation:
112811
+ type: boolean
112812
+ readOnly: true
112813
+ enable_document_filter:
112814
+ type: boolean
112815
+ readOnly: true
112816
+ disable_privacy_mode:
112817
+ type: boolean
112818
+ readOnly: true
112819
+ enable_in_chat_llm_change:
112820
+ type: boolean
112821
+ readOnly: true
112728
112822
  starter_prompts:
112729
112823
  type: string
112730
112824
  readOnly: true
@@ -113013,6 +113107,7 @@ components:
113013
113107
  - created_by
113014
113108
  - department
113015
113109
  - disable_chathistory
113110
+ - disable_privacy_mode
113016
113111
  - disclaimer
113017
113112
  - embed_icon_selection_data
113018
113113
  - embed_is_context_aware
@@ -113024,8 +113119,10 @@ components:
113024
113119
  - enable_computational_runtime
113025
113120
  - enable_custom_javascript
113026
113121
  - enable_disclaimer
113122
+ - enable_document_filter
113027
113123
  - enable_email_chat
113028
113124
  - enable_guided_prompts
113125
+ - enable_in_chat_llm_change
113029
113126
  - enable_instruction_mode
113030
113127
  - enable_memory_component
113031
113128
  - enable_moderation
@@ -113093,6 +113190,7 @@ components:
113093
113190
  - show_attachment
113094
113191
  - show_catalogue
113095
113192
  - show_explore_mentors
113193
+ - show_last_conversation
113096
113194
  - show_rag_images
113097
113195
  - show_reasoning
113098
113196
  - show_voice_call
@@ -113251,6 +113349,18 @@ components:
113251
113349
  show_reasoning:
113252
113350
  type: boolean
113253
113351
  readOnly: true
113352
+ show_last_conversation:
113353
+ type: boolean
113354
+ readOnly: true
113355
+ enable_document_filter:
113356
+ type: boolean
113357
+ readOnly: true
113358
+ disable_privacy_mode:
113359
+ type: boolean
113360
+ readOnly: true
113361
+ enable_in_chat_llm_change:
113362
+ type: boolean
113363
+ readOnly: true
113254
113364
  starter_prompts:
113255
113365
  type: string
113256
113366
  readOnly: true
@@ -113394,6 +113504,7 @@ components:
113394
113504
  - categories
113395
113505
  - created_at
113396
113506
  - created_by
113507
+ - disable_privacy_mode
113397
113508
  - disclaimer
113398
113509
  - embed_icon_selection_data
113399
113510
  - embed_is_context_aware
@@ -113404,8 +113515,10 @@ components:
113404
113515
  - embed_show_voice_record
113405
113516
  - enable_custom_javascript
113406
113517
  - enable_disclaimer
113518
+ - enable_document_filter
113407
113519
  - enable_email_chat
113408
113520
  - enable_guided_prompts
113521
+ - enable_in_chat_llm_change
113409
113522
  - enable_instruction_mode
113410
113523
  - enable_memory_component
113411
113524
  - enable_moderation
@@ -113447,6 +113560,7 @@ components:
113447
113560
  - show_attachment
113448
113561
  - show_catalogue
113449
113562
  - show_explore_mentors
113563
+ - show_last_conversation
113450
113564
  - show_rag_images
113451
113565
  - show_reasoning
113452
113566
  - show_voice_call
@@ -113496,6 +113610,8 @@ components:
113496
113610
  type: boolean
113497
113611
  disable_chathistory:
113498
113612
  type: boolean
113613
+ disable_privacy_mode:
113614
+ type: boolean
113499
113615
  strip_page_content_html:
113500
113616
  type: boolean
113501
113617
  enable_computational_runtime:
@@ -113645,6 +113761,12 @@ components:
113645
113761
  type: boolean
113646
113762
  show_reasoning:
113647
113763
  type: boolean
113764
+ show_last_conversation:
113765
+ type: boolean
113766
+ enable_document_filter:
113767
+ type: boolean
113768
+ enable_in_chat_llm_change:
113769
+ type: boolean
113648
113770
  starter_prompts:
113649
113771
  $ref: '#/components/schemas/StarterPrompts8c6Enum'
113650
113772
  embed_is_context_aware:
@@ -118556,6 +118678,14 @@ components:
118556
118678
  type: string
118557
118679
  nullable: true
118558
118680
  maxLength: 255
118681
+ llm_user_selected:
118682
+ type: boolean
118683
+ nullable: true
118684
+ description: True when `llm_name`/`llm_provider` hold an LLM the student
118685
+ picked in-chat (via Mentor.enable_in_chat_llm_change), rather than resolver
118686
+ metadata. When set, the inference resolver uses these values for the session's
118687
+ turns and does not overwrite them with the mentor's LLM. Nullable for
118688
+ rolling deploys; NULL is treated as False at read time.
118559
118689
  metadata:
118560
118690
  nullable: true
118561
118691
  title:
@@ -119547,6 +119677,39 @@ components:
119547
119677
  show_reasoning:
119548
119678
  type: boolean
119549
119679
  description: Show reasoning on mentor.
119680
+ show_last_conversation:
119681
+ type: boolean
119682
+ nullable: true
119683
+ description: Show the user's most recent conversation by default when the
119684
+ mentor is opened, so a new chat continues the last one instead of starting
119685
+ fresh. Off by default. Nullable for rolling deploys; NULL is treated as
119686
+ off at read time.
119687
+ enable_document_filter:
119688
+ type: boolean
119689
+ nullable: true
119690
+ description: 'Whether a chat-time `document_filter` payload is honored for
119691
+ this mentor. Off by default: user-submitted document filters are ignored
119692
+ unless an admin turns this on. Nullable for rolling deploys; NULL is treated
119693
+ as off at read time.'
119694
+ disable_privacy_mode:
119695
+ type: boolean
119696
+ nullable: true
119697
+ description: 'Turn off end-user chat-privacy controls for this mentor. When
119698
+ on, the client hides the privacy-mode button and the API rejects any attempt
119699
+ to make a conversation private on this mentor — disabling a session''s
119700
+ chat history or starting a private session returns 403. Off by default:
119701
+ users keep the privacy controls the tenant allows. Nullable for rolling
119702
+ deploys; NULL is treated as off at read time.'
119703
+ enable_in_chat_llm_change:
119704
+ type: boolean
119705
+ nullable: true
119706
+ description: 'Let a student pick a different LLM for their current session
119707
+ from the chat UI, without changing this mentor''s own `llm_name`/`llm_provider`.
119708
+ When on, an in-chat `llm_provider`/`llm_name` is validated against the
119709
+ tenant''s credentials, stored on the session, and used for that session''s
119710
+ turns (newest choice wins and persists until changed). Off by default:
119711
+ the mentor''s LLM is always used. Nullable for rolling deploys; NULL is
119712
+ treated as off at read time.'
119550
119713
  starter_prompts:
119551
119714
  allOf:
119552
119715
  - $ref: '#/components/schemas/StarterPromptsB04Enum'
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.412.0-ai-plus',
24
+ VERSION: '4.413.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -47,6 +47,10 @@ export type Conversations = {
47
47
  */
48
48
  disable_chathistory?: boolean;
49
49
  llm_name?: string | null;
50
+ /**
51
+ * True when `llm_name`/`llm_provider` hold an LLM the student picked in-chat (via Mentor.enable_in_chat_llm_change), rather than resolver metadata. When set, the inference resolver uses these values for the session's turns and does not overwrite them with the mentor's LLM. Nullable for rolling deploys; NULL is treated as False at read time.
52
+ */
53
+ llm_user_selected?: boolean | null;
50
54
  metadata?: any;
51
55
  /**
52
56
  * AI-generated title summarizing the conversation
@@ -131,6 +131,22 @@ export type Mentor = {
131
131
  * Show reasoning on mentor.
132
132
  */
133
133
  show_reasoning?: boolean;
134
+ /**
135
+ * Show the user's most recent conversation by default when the mentor is opened, so a new chat continues the last one instead of starting fresh. Off by default. Nullable for rolling deploys; NULL is treated as off at read time.
136
+ */
137
+ show_last_conversation?: boolean | null;
138
+ /**
139
+ * Whether a chat-time `document_filter` payload is honored for this mentor. Off by default: user-submitted document filters are ignored unless an admin turns this on. Nullable for rolling deploys; NULL is treated as off at read time.
140
+ */
141
+ enable_document_filter?: boolean | null;
142
+ /**
143
+ * Turn off end-user chat-privacy controls for this mentor. When on, the client hides the privacy-mode button and the API rejects any attempt to make a conversation private on this mentor — disabling a session's chat history or starting a private session returns 403. Off by default: users keep the privacy controls the tenant allows. Nullable for rolling deploys; NULL is treated as off at read time.
144
+ */
145
+ disable_privacy_mode?: boolean | null;
146
+ /**
147
+ * Let a student pick a different LLM for their current session from the chat UI, without changing this mentor's own `llm_name`/`llm_provider`. When on, an in-chat `llm_provider`/`llm_name` is validated against the tenant's credentials, stored on the session, and used for that session's turns (newest choice wins and persists until changed). Off by default: the mentor's LLM is always used. Nullable for rolling deploys; NULL is treated as off at read time.
148
+ */
149
+ enable_in_chat_llm_change?: boolean | null;
134
150
  /**
135
151
  * Type of starter prompts to show: guided_prompt or suggested_prompt.
136
152
  *
@@ -109,6 +109,22 @@ export type MentorCreate = {
109
109
  * Show reasoning on mentor.
110
110
  */
111
111
  show_reasoning?: boolean;
112
+ /**
113
+ * Show the user's most recent conversation by default when the mentor is opened, so a new chat continues the last one instead of starting fresh. Off by default. Nullable for rolling deploys; NULL is treated as off at read time.
114
+ */
115
+ show_last_conversation?: boolean | null;
116
+ /**
117
+ * Whether a chat-time `document_filter` payload is honored for this mentor. Off by default: user-submitted document filters are ignored unless an admin turns this on. Nullable for rolling deploys; NULL is treated as off at read time.
118
+ */
119
+ enable_document_filter?: boolean | null;
120
+ /**
121
+ * Turn off end-user chat-privacy controls for this mentor. When on, the client hides the privacy-mode button and the API rejects any attempt to make a conversation private on this mentor — disabling a session's chat history or starting a private session returns 403. Off by default: users keep the privacy controls the tenant allows. Nullable for rolling deploys; NULL is treated as off at read time.
122
+ */
123
+ disable_privacy_mode?: boolean | null;
124
+ /**
125
+ * Let a student pick a different LLM for their current session from the chat UI, without changing this mentor's own `llm_name`/`llm_provider`. When on, an in-chat `llm_provider`/`llm_name` is validated against the tenant's credentials, stored on the session, and used for that session's turns (newest choice wins and persists until changed). Off by default: the mentor's LLM is always used. Nullable for rolling deploys; NULL is treated as off at read time.
126
+ */
127
+ enable_in_chat_llm_change?: boolean | null;
112
128
  /**
113
129
  * Type of starter prompts to show: guided_prompt or suggested_prompt.
114
130
  *
@@ -54,6 +54,10 @@ export type MentorFromTemplateWithSettingRequest = {
54
54
  show_rag_images?: boolean;
55
55
  show_catalogue?: boolean;
56
56
  show_reasoning?: boolean;
57
+ show_last_conversation?: boolean;
58
+ enable_document_filter?: boolean;
59
+ disable_privacy_mode?: boolean;
60
+ enable_in_chat_llm_change?: boolean;
57
61
  starter_prompts?: StarterPrompts8c6Enum;
58
62
  embed_is_context_aware?: boolean;
59
63
  embed_open_by_default?: boolean;
@@ -60,6 +60,10 @@ export type MentorSettings = {
60
60
  readonly show_rag_images: boolean;
61
61
  readonly show_catalogue: boolean;
62
62
  readonly show_reasoning: boolean;
63
+ readonly show_last_conversation: boolean;
64
+ readonly enable_document_filter: boolean;
65
+ readonly disable_privacy_mode: boolean;
66
+ readonly enable_in_chat_llm_change: boolean;
63
67
  readonly starter_prompts: string;
64
68
  readonly embed_is_context_aware: boolean;
65
69
  readonly embed_open_by_default: boolean;
@@ -57,6 +57,10 @@ export type MentorSettingsPublic = {
57
57
  readonly show_rag_images: boolean;
58
58
  readonly show_catalogue: boolean;
59
59
  readonly show_reasoning: boolean;
60
+ readonly show_last_conversation: boolean;
61
+ readonly enable_document_filter: boolean;
62
+ readonly disable_privacy_mode: boolean;
63
+ readonly enable_in_chat_llm_change: boolean;
60
64
  readonly starter_prompts: string;
61
65
  readonly embed_is_context_aware: boolean;
62
66
  readonly embed_open_by_default: boolean;
@@ -24,6 +24,7 @@ export type MentorSettingsRequest = {
24
24
  llm_name?: string;
25
25
  featured?: boolean;
26
26
  disable_chathistory?: boolean;
27
+ disable_privacy_mode?: boolean;
27
28
  strip_page_content_html?: boolean;
28
29
  enable_computational_runtime?: boolean;
29
30
  chat_history_max_tokens?: number | null;
@@ -91,6 +92,9 @@ export type MentorSettingsRequest = {
91
92
  show_rag_images?: boolean;
92
93
  show_catalogue?: boolean;
93
94
  show_reasoning?: boolean;
95
+ show_last_conversation?: boolean;
96
+ enable_document_filter?: boolean;
97
+ enable_in_chat_llm_change?: boolean;
94
98
  starter_prompts?: StarterPrompts8c6Enum;
95
99
  embed_is_context_aware?: boolean;
96
100
  embed_open_by_default?: boolean;
@@ -47,6 +47,10 @@ export type PatchedConversations = {
47
47
  */
48
48
  disable_chathistory?: boolean;
49
49
  llm_name?: string | null;
50
+ /**
51
+ * True when `llm_name`/`llm_provider` hold an LLM the student picked in-chat (via Mentor.enable_in_chat_llm_change), rather than resolver metadata. When set, the inference resolver uses these values for the session's turns and does not overwrite them with the mentor's LLM. Nullable for rolling deploys; NULL is treated as False at read time.
52
+ */
53
+ llm_user_selected?: boolean | null;
50
54
  metadata?: any;
51
55
  /**
52
56
  * AI-generated title summarizing the conversation
@@ -109,6 +109,22 @@ export type PatchedMentorCreate = {
109
109
  * Show reasoning on mentor.
110
110
  */
111
111
  show_reasoning?: boolean;
112
+ /**
113
+ * Show the user's most recent conversation by default when the mentor is opened, so a new chat continues the last one instead of starting fresh. Off by default. Nullable for rolling deploys; NULL is treated as off at read time.
114
+ */
115
+ show_last_conversation?: boolean | null;
116
+ /**
117
+ * Whether a chat-time `document_filter` payload is honored for this mentor. Off by default: user-submitted document filters are ignored unless an admin turns this on. Nullable for rolling deploys; NULL is treated as off at read time.
118
+ */
119
+ enable_document_filter?: boolean | null;
120
+ /**
121
+ * Turn off end-user chat-privacy controls for this mentor. When on, the client hides the privacy-mode button and the API rejects any attempt to make a conversation private on this mentor — disabling a session's chat history or starting a private session returns 403. Off by default: users keep the privacy controls the tenant allows. Nullable for rolling deploys; NULL is treated as off at read time.
122
+ */
123
+ disable_privacy_mode?: boolean | null;
124
+ /**
125
+ * Let a student pick a different LLM for their current session from the chat UI, without changing this mentor's own `llm_name`/`llm_provider`. When on, an in-chat `llm_provider`/`llm_name` is validated against the tenant's credentials, stored on the session, and used for that session's turns (newest choice wins and persists until changed). Off by default: the mentor's LLM is always used. Nullable for rolling deploys; NULL is treated as off at read time.
126
+ */
127
+ enable_in_chat_llm_change?: boolean | null;
112
128
  /**
113
129
  * Type of starter prompts to show: guided_prompt or suggested_prompt.
114
130
  *