@arbidocs/client 0.3.16 → 0.3.17
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/README.md +8 -8
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -22
- package/dist/index.d.ts +34 -22
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -164,7 +164,7 @@ interface paths {
|
|
|
164
164
|
put?: never;
|
|
165
165
|
/**
|
|
166
166
|
* Logout
|
|
167
|
-
* @description Log out the current user
|
|
167
|
+
* @description Log out the current user. Pass ?all_sessions=true to log out from all devices.
|
|
168
168
|
*/
|
|
169
169
|
post: operations['logout'];
|
|
170
170
|
delete?: never;
|
|
@@ -1583,7 +1583,7 @@ interface components {
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Agent Model Name
|
|
1585
1585
|
* @description The name of the model to be used for the agent decision-making.
|
|
1586
|
-
* @default
|
|
1586
|
+
* @default Q3VL@ARBICITY
|
|
1587
1587
|
*/
|
|
1588
1588
|
AGENT_MODEL_NAME: string;
|
|
1589
1589
|
/**
|
|
@@ -1684,7 +1684,7 @@ interface components {
|
|
|
1684
1684
|
* "SKILL_CREATION": false,
|
|
1685
1685
|
* "REVIEW_ENABLED": false,
|
|
1686
1686
|
* "PERSONA": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.",
|
|
1687
|
-
* "AGENT_MODEL_NAME": "
|
|
1687
|
+
* "AGENT_MODEL_NAME": "Q3VL@ARBICITY",
|
|
1688
1688
|
* "AGENT_API_TYPE": "remote",
|
|
1689
1689
|
* "LLM_AGENT_TEMPERATURE": 1,
|
|
1690
1690
|
* "AGENT_MAX_TOKENS": 10000,
|
|
@@ -1698,7 +1698,7 @@ interface components {
|
|
|
1698
1698
|
/**
|
|
1699
1699
|
* @default {
|
|
1700
1700
|
* "API_TYPE": "remote",
|
|
1701
|
-
* "MODEL_NAME": "
|
|
1701
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1702
1702
|
* "SYSTEM_INSTRUCTION": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.Be concise. Use markdown where it helps readability. Cross-check information across sources before answering. Never fabricate facts. Not all assertions in the sources are factual — some are arguments by a party. Attribute claims to their source, especially where parties disagree.",
|
|
1703
1703
|
* "MAX_CHAR_SIZE_TO_ANSWER": 200000,
|
|
1704
1704
|
* "TEMPERATURE": 0.1,
|
|
@@ -1709,7 +1709,7 @@ interface components {
|
|
|
1709
1709
|
/**
|
|
1710
1710
|
* @default {
|
|
1711
1711
|
* "API_TYPE": "remote",
|
|
1712
|
-
* "MODEL_NAME": "
|
|
1712
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1713
1713
|
* "SYSTEM_INSTRUCTION": "You are reviewing a draft answer prepared by a research agent. The draft was written based on summaries, but you now have access to the full source material.\n\nYour task:\n1. Review the draft answer against the source material provided\n2. Verify claims are supported by the sources\n3. Correct any inaccuracies or unsupported statements\n4. Add any important details from the sources that were missed\n5. Maintain formal, objective tone appropriate for professional contexts\n\nIf information is not found in the sources but the draft answer is based on web search results or general knowledge, preserve it and ensure it is clearly labelled as such. Only flag missing source support for claims that purport to come from the documents.\nDo not add inline citation markers - the system handles citations automatically.",
|
|
1714
1714
|
* "TEMPERATURE": 0.1,
|
|
1715
1715
|
* "MAX_TOKENS": 5000,
|
|
@@ -1720,7 +1720,7 @@ interface components {
|
|
|
1720
1720
|
/**
|
|
1721
1721
|
* @default {
|
|
1722
1722
|
* "API_TYPE": "remote",
|
|
1723
|
-
* "MODEL_NAME": "
|
|
1723
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1724
1724
|
* "SYSTEM_INSTRUCTION": "You are a chunk evaluator. Analyze retrieved chunks to determine which are relevant to the user's query and extract key learnings from the RELEVANT chunks only. You must return your response as valid JSON matching the provided schema.",
|
|
1725
1725
|
* "TEMPERATURE": 0.1,
|
|
1726
1726
|
* "MAX_TOKENS": 20000,
|
|
@@ -1731,7 +1731,7 @@ interface components {
|
|
|
1731
1731
|
/**
|
|
1732
1732
|
* @default {
|
|
1733
1733
|
* "API_TYPE": "remote",
|
|
1734
|
-
* "MODEL_NAME": "
|
|
1734
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1735
1735
|
* "SYSTEM_INSTRUCTION": "You are a title generator that creates concise, descriptive titles.",
|
|
1736
1736
|
* "MAX_CHAR_SIZE_TO_ANSWER": 50,
|
|
1737
1737
|
* "TEMPERATURE": 0.3,
|
|
@@ -1742,7 +1742,7 @@ interface components {
|
|
|
1742
1742
|
/**
|
|
1743
1743
|
* @default {
|
|
1744
1744
|
* "API_TYPE": "remote",
|
|
1745
|
-
* "MODEL_NAME": "
|
|
1745
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1746
1746
|
* "SYSTEM_INSTRUCTION": "You are a conversation summariser. Condense the conversation history into a concise summary that preserves:\n- Key decisions and conclusions reached\n- Specific names, dates, numbers, and document references\n- Open questions and unresolved items\n- The user's goals and constraints\n\nWrite in past tense, third person. Be specific, not vague. Do not omit important details in favour of brevity.",
|
|
1747
1747
|
* "TEMPERATURE": 0.1,
|
|
1748
1748
|
* "MAX_TOKENS": 2000,
|
|
@@ -1755,7 +1755,7 @@ interface components {
|
|
|
1755
1755
|
/**
|
|
1756
1756
|
* @default {
|
|
1757
1757
|
* "API_TYPE": "remote",
|
|
1758
|
-
* "MODEL_NAME": "
|
|
1758
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1759
1759
|
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nGuidelines:\n- Only use information explicitly stated in the document\n- Do not infer or assume information not present\n- If information is not found, respond with \"Information not found in document.\"\n- Follow format instructions exactly for each answer\n- Be concise and precise",
|
|
1760
1760
|
* "MAX_CHAR_CONTEXT_TO_ANSWER": 100000,
|
|
1761
1761
|
* "TEMPERATURE": 0.1,
|
|
@@ -1813,7 +1813,7 @@ interface components {
|
|
|
1813
1813
|
/**
|
|
1814
1814
|
* @default {
|
|
1815
1815
|
* "API_TYPE": "remote",
|
|
1816
|
-
* "MODEL_NAME": "
|
|
1816
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1817
1817
|
* "SYSTEM_INSTRUCTION": "You are a knowledge synthesizer. You receive the full agent scratchpad from a completed conversation and decide what, if anything, is worth saving.\n\n## Work Product Types\n- **\"memory\"**: Facts, findings, reference data — for *looking up* information.\n- **\"skill\"**: Procedures, workflows, step-by-step instructions — for *doing* something.\n\nWhen ambiguous, default to memory.\n\n## Rules\n- Return an empty work_products array if the conversation is trivial or produced nothing substantive.\n- Each work product must cover ONE coherent topic. Never combine disparate subjects into a single document — create separate documents for each distinct topic.\n- Ground everything in the provided context. Do not invent information.\n- Be concise. These are reference documents, not essays.\n\n## Output Format\nJSON with a `work_products` array. Each item has `wp_type`, `title`, and `content` (markdown).\n\nMemory content: `# Title`, date, source, key findings as bullets, source documents.\nSkill content: `# Title`, prerequisites, numbered steps, when to apply.",
|
|
1818
1818
|
* "TEMPERATURE": 0.3,
|
|
1819
1819
|
* "MAX_TOKENS": 8000,
|
|
@@ -1825,7 +1825,7 @@ interface components {
|
|
|
1825
1825
|
/**
|
|
1826
1826
|
* @default {
|
|
1827
1827
|
* "API_TYPE": "remote",
|
|
1828
|
-
* "MODEL_NAME": "
|
|
1828
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1829
1829
|
* "SYSTEM_INSTRUCTION": "You are a research planning assistant. Your job is to analyze a user query and produce a concise, numbered research plan.\n\nYou have access to a workspace of documents. The available tools for executing the plan are:\n- search_documents: Search workspace documents for relevant passages (semantic, keyword, or hybrid)\n- get_document_passages: Read a specific page range from a document\n- get_table_of_contents: Get document headings with page references\n\nConsider:\n- What information is needed to answer the query\n- Which documents are likely relevant based on the document index\n- What search queries and document passages to examine\n- What order of operations will be most efficient\n- Whether parallel searches can be used for different aspects\n\nRespond with ONLY the plan (numbered steps). Do not execute any steps.",
|
|
1830
1830
|
* "TEMPERATURE": 0.3,
|
|
1831
1831
|
* "MAX_TOKENS": 4000,
|
|
@@ -1837,7 +1837,7 @@ interface components {
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* @default {
|
|
1839
1839
|
* "API_TYPE": "remote",
|
|
1840
|
-
* "MODEL_NAME": "
|
|
1840
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1841
1841
|
* "TEMPERATURE": 0.1,
|
|
1842
1842
|
* "MAX_TOKENS": 4000,
|
|
1843
1843
|
* "MAX_PAGES_PER_CALL": 5,
|
|
@@ -2870,7 +2870,7 @@ interface components {
|
|
|
2870
2870
|
/**
|
|
2871
2871
|
* Model Name
|
|
2872
2872
|
* @description The name of the non-reasoning model to be used.
|
|
2873
|
-
* @default
|
|
2873
|
+
* @default Q3VL@ARBICITY
|
|
2874
2874
|
*/
|
|
2875
2875
|
MODEL_NAME: string;
|
|
2876
2876
|
/**
|
|
@@ -3039,7 +3039,7 @@ interface components {
|
|
|
3039
3039
|
/**
|
|
3040
3040
|
* Model Name
|
|
3041
3041
|
* @description The name of the non-reasoning model to be used.
|
|
3042
|
-
* @default
|
|
3042
|
+
* @default Q3VL@ARBICITY
|
|
3043
3043
|
*/
|
|
3044
3044
|
MODEL_NAME: string;
|
|
3045
3045
|
/**
|
|
@@ -3358,7 +3358,7 @@ interface components {
|
|
|
3358
3358
|
/**
|
|
3359
3359
|
* Model Name
|
|
3360
3360
|
* @description The model for memory synthesis. Defaults to reasoning model.
|
|
3361
|
-
* @default
|
|
3361
|
+
* @default GPTOSS120@ARBICITY
|
|
3362
3362
|
*/
|
|
3363
3363
|
MODEL_NAME: string;
|
|
3364
3364
|
/**
|
|
@@ -3952,7 +3952,7 @@ interface components {
|
|
|
3952
3952
|
/**
|
|
3953
3953
|
* Model Name
|
|
3954
3954
|
* @description The model for plan generation. Defaults to reasoning model.
|
|
3955
|
-
* @default
|
|
3955
|
+
* @default GPTOSS120@ARBICITY
|
|
3956
3956
|
*/
|
|
3957
3957
|
MODEL_NAME: string;
|
|
3958
3958
|
/**
|
|
@@ -4065,7 +4065,7 @@ interface components {
|
|
|
4065
4065
|
/**
|
|
4066
4066
|
* Model Name
|
|
4067
4067
|
* @description The model for query answering.
|
|
4068
|
-
* @default
|
|
4068
|
+
* @default Q3VL@ARBICITY
|
|
4069
4069
|
*/
|
|
4070
4070
|
MODEL_NAME: string;
|
|
4071
4071
|
/**
|
|
@@ -4867,7 +4867,7 @@ interface components {
|
|
|
4867
4867
|
/**
|
|
4868
4868
|
* Model Name
|
|
4869
4869
|
* @description The model for reviewing agent draft answers. Defaults to reasoning model.
|
|
4870
|
-
* @default
|
|
4870
|
+
* @default GPTOSS120@ARBICITY
|
|
4871
4871
|
*/
|
|
4872
4872
|
MODEL_NAME: string;
|
|
4873
4873
|
/**
|
|
@@ -5257,7 +5257,7 @@ interface components {
|
|
|
5257
5257
|
/**
|
|
5258
5258
|
* Model Name
|
|
5259
5259
|
* @description The model for conversation summarisation. Defaults to reasoning model.
|
|
5260
|
-
* @default
|
|
5260
|
+
* @default GPTOSS120@ARBICITY
|
|
5261
5261
|
*/
|
|
5262
5262
|
MODEL_NAME: string;
|
|
5263
5263
|
/**
|
|
@@ -5435,7 +5435,7 @@ interface components {
|
|
|
5435
5435
|
/**
|
|
5436
5436
|
* Model Name
|
|
5437
5437
|
* @description The name of the non-reasoning model to be used.
|
|
5438
|
-
* @default
|
|
5438
|
+
* @default Q3VL@ARBICITY
|
|
5439
5439
|
*/
|
|
5440
5440
|
MODEL_NAME: string;
|
|
5441
5441
|
/**
|
|
@@ -6014,7 +6014,7 @@ interface components {
|
|
|
6014
6014
|
/**
|
|
6015
6015
|
* Model Name
|
|
6016
6016
|
* @description The vision-capable model name (must support image inputs).
|
|
6017
|
-
* @default
|
|
6017
|
+
* @default Q3VL@ARBICITY
|
|
6018
6018
|
*/
|
|
6019
6019
|
MODEL_NAME: string;
|
|
6020
6020
|
/**
|
|
@@ -6454,7 +6454,10 @@ interface operations {
|
|
|
6454
6454
|
};
|
|
6455
6455
|
logout: {
|
|
6456
6456
|
parameters: {
|
|
6457
|
-
query?:
|
|
6457
|
+
query?: {
|
|
6458
|
+
/** @description If true, log out from all sessions (all devices) */
|
|
6459
|
+
all_sessions?: boolean;
|
|
6460
|
+
};
|
|
6458
6461
|
header?: never;
|
|
6459
6462
|
path?: never;
|
|
6460
6463
|
cookie?: never;
|
|
@@ -6470,6 +6473,15 @@ interface operations {
|
|
|
6470
6473
|
'application/json': components['schemas']['LogoutResponse'];
|
|
6471
6474
|
};
|
|
6472
6475
|
};
|
|
6476
|
+
/** @description Validation Error */
|
|
6477
|
+
422: {
|
|
6478
|
+
headers: {
|
|
6479
|
+
[name: string]: unknown;
|
|
6480
|
+
};
|
|
6481
|
+
content: {
|
|
6482
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
6483
|
+
};
|
|
6484
|
+
};
|
|
6473
6485
|
};
|
|
6474
6486
|
};
|
|
6475
6487
|
change_password: {
|
package/dist/index.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ interface paths {
|
|
|
164
164
|
put?: never;
|
|
165
165
|
/**
|
|
166
166
|
* Logout
|
|
167
|
-
* @description Log out the current user
|
|
167
|
+
* @description Log out the current user. Pass ?all_sessions=true to log out from all devices.
|
|
168
168
|
*/
|
|
169
169
|
post: operations['logout'];
|
|
170
170
|
delete?: never;
|
|
@@ -1583,7 +1583,7 @@ interface components {
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Agent Model Name
|
|
1585
1585
|
* @description The name of the model to be used for the agent decision-making.
|
|
1586
|
-
* @default
|
|
1586
|
+
* @default Q3VL@ARBICITY
|
|
1587
1587
|
*/
|
|
1588
1588
|
AGENT_MODEL_NAME: string;
|
|
1589
1589
|
/**
|
|
@@ -1684,7 +1684,7 @@ interface components {
|
|
|
1684
1684
|
* "SKILL_CREATION": false,
|
|
1685
1685
|
* "REVIEW_ENABLED": false,
|
|
1686
1686
|
* "PERSONA": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.",
|
|
1687
|
-
* "AGENT_MODEL_NAME": "
|
|
1687
|
+
* "AGENT_MODEL_NAME": "Q3VL@ARBICITY",
|
|
1688
1688
|
* "AGENT_API_TYPE": "remote",
|
|
1689
1689
|
* "LLM_AGENT_TEMPERATURE": 1,
|
|
1690
1690
|
* "AGENT_MAX_TOKENS": 10000,
|
|
@@ -1698,7 +1698,7 @@ interface components {
|
|
|
1698
1698
|
/**
|
|
1699
1699
|
* @default {
|
|
1700
1700
|
* "API_TYPE": "remote",
|
|
1701
|
-
* "MODEL_NAME": "
|
|
1701
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1702
1702
|
* "SYSTEM_INSTRUCTION": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.Be concise. Use markdown where it helps readability. Cross-check information across sources before answering. Never fabricate facts. Not all assertions in the sources are factual — some are arguments by a party. Attribute claims to their source, especially where parties disagree.",
|
|
1703
1703
|
* "MAX_CHAR_SIZE_TO_ANSWER": 200000,
|
|
1704
1704
|
* "TEMPERATURE": 0.1,
|
|
@@ -1709,7 +1709,7 @@ interface components {
|
|
|
1709
1709
|
/**
|
|
1710
1710
|
* @default {
|
|
1711
1711
|
* "API_TYPE": "remote",
|
|
1712
|
-
* "MODEL_NAME": "
|
|
1712
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1713
1713
|
* "SYSTEM_INSTRUCTION": "You are reviewing a draft answer prepared by a research agent. The draft was written based on summaries, but you now have access to the full source material.\n\nYour task:\n1. Review the draft answer against the source material provided\n2. Verify claims are supported by the sources\n3. Correct any inaccuracies or unsupported statements\n4. Add any important details from the sources that were missed\n5. Maintain formal, objective tone appropriate for professional contexts\n\nIf information is not found in the sources but the draft answer is based on web search results or general knowledge, preserve it and ensure it is clearly labelled as such. Only flag missing source support for claims that purport to come from the documents.\nDo not add inline citation markers - the system handles citations automatically.",
|
|
1714
1714
|
* "TEMPERATURE": 0.1,
|
|
1715
1715
|
* "MAX_TOKENS": 5000,
|
|
@@ -1720,7 +1720,7 @@ interface components {
|
|
|
1720
1720
|
/**
|
|
1721
1721
|
* @default {
|
|
1722
1722
|
* "API_TYPE": "remote",
|
|
1723
|
-
* "MODEL_NAME": "
|
|
1723
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1724
1724
|
* "SYSTEM_INSTRUCTION": "You are a chunk evaluator. Analyze retrieved chunks to determine which are relevant to the user's query and extract key learnings from the RELEVANT chunks only. You must return your response as valid JSON matching the provided schema.",
|
|
1725
1725
|
* "TEMPERATURE": 0.1,
|
|
1726
1726
|
* "MAX_TOKENS": 20000,
|
|
@@ -1731,7 +1731,7 @@ interface components {
|
|
|
1731
1731
|
/**
|
|
1732
1732
|
* @default {
|
|
1733
1733
|
* "API_TYPE": "remote",
|
|
1734
|
-
* "MODEL_NAME": "
|
|
1734
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1735
1735
|
* "SYSTEM_INSTRUCTION": "You are a title generator that creates concise, descriptive titles.",
|
|
1736
1736
|
* "MAX_CHAR_SIZE_TO_ANSWER": 50,
|
|
1737
1737
|
* "TEMPERATURE": 0.3,
|
|
@@ -1742,7 +1742,7 @@ interface components {
|
|
|
1742
1742
|
/**
|
|
1743
1743
|
* @default {
|
|
1744
1744
|
* "API_TYPE": "remote",
|
|
1745
|
-
* "MODEL_NAME": "
|
|
1745
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1746
1746
|
* "SYSTEM_INSTRUCTION": "You are a conversation summariser. Condense the conversation history into a concise summary that preserves:\n- Key decisions and conclusions reached\n- Specific names, dates, numbers, and document references\n- Open questions and unresolved items\n- The user's goals and constraints\n\nWrite in past tense, third person. Be specific, not vague. Do not omit important details in favour of brevity.",
|
|
1747
1747
|
* "TEMPERATURE": 0.1,
|
|
1748
1748
|
* "MAX_TOKENS": 2000,
|
|
@@ -1755,7 +1755,7 @@ interface components {
|
|
|
1755
1755
|
/**
|
|
1756
1756
|
* @default {
|
|
1757
1757
|
* "API_TYPE": "remote",
|
|
1758
|
-
* "MODEL_NAME": "
|
|
1758
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1759
1759
|
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nGuidelines:\n- Only use information explicitly stated in the document\n- Do not infer or assume information not present\n- If information is not found, respond with \"Information not found in document.\"\n- Follow format instructions exactly for each answer\n- Be concise and precise",
|
|
1760
1760
|
* "MAX_CHAR_CONTEXT_TO_ANSWER": 100000,
|
|
1761
1761
|
* "TEMPERATURE": 0.1,
|
|
@@ -1813,7 +1813,7 @@ interface components {
|
|
|
1813
1813
|
/**
|
|
1814
1814
|
* @default {
|
|
1815
1815
|
* "API_TYPE": "remote",
|
|
1816
|
-
* "MODEL_NAME": "
|
|
1816
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1817
1817
|
* "SYSTEM_INSTRUCTION": "You are a knowledge synthesizer. You receive the full agent scratchpad from a completed conversation and decide what, if anything, is worth saving.\n\n## Work Product Types\n- **\"memory\"**: Facts, findings, reference data — for *looking up* information.\n- **\"skill\"**: Procedures, workflows, step-by-step instructions — for *doing* something.\n\nWhen ambiguous, default to memory.\n\n## Rules\n- Return an empty work_products array if the conversation is trivial or produced nothing substantive.\n- Each work product must cover ONE coherent topic. Never combine disparate subjects into a single document — create separate documents for each distinct topic.\n- Ground everything in the provided context. Do not invent information.\n- Be concise. These are reference documents, not essays.\n\n## Output Format\nJSON with a `work_products` array. Each item has `wp_type`, `title`, and `content` (markdown).\n\nMemory content: `# Title`, date, source, key findings as bullets, source documents.\nSkill content: `# Title`, prerequisites, numbered steps, when to apply.",
|
|
1818
1818
|
* "TEMPERATURE": 0.3,
|
|
1819
1819
|
* "MAX_TOKENS": 8000,
|
|
@@ -1825,7 +1825,7 @@ interface components {
|
|
|
1825
1825
|
/**
|
|
1826
1826
|
* @default {
|
|
1827
1827
|
* "API_TYPE": "remote",
|
|
1828
|
-
* "MODEL_NAME": "
|
|
1828
|
+
* "MODEL_NAME": "GPTOSS120@ARBICITY",
|
|
1829
1829
|
* "SYSTEM_INSTRUCTION": "You are a research planning assistant. Your job is to analyze a user query and produce a concise, numbered research plan.\n\nYou have access to a workspace of documents. The available tools for executing the plan are:\n- search_documents: Search workspace documents for relevant passages (semantic, keyword, or hybrid)\n- get_document_passages: Read a specific page range from a document\n- get_table_of_contents: Get document headings with page references\n\nConsider:\n- What information is needed to answer the query\n- Which documents are likely relevant based on the document index\n- What search queries and document passages to examine\n- What order of operations will be most efficient\n- Whether parallel searches can be used for different aspects\n\nRespond with ONLY the plan (numbered steps). Do not execute any steps.",
|
|
1830
1830
|
* "TEMPERATURE": 0.3,
|
|
1831
1831
|
* "MAX_TOKENS": 4000,
|
|
@@ -1837,7 +1837,7 @@ interface components {
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* @default {
|
|
1839
1839
|
* "API_TYPE": "remote",
|
|
1840
|
-
* "MODEL_NAME": "
|
|
1840
|
+
* "MODEL_NAME": "Q3VL@ARBICITY",
|
|
1841
1841
|
* "TEMPERATURE": 0.1,
|
|
1842
1842
|
* "MAX_TOKENS": 4000,
|
|
1843
1843
|
* "MAX_PAGES_PER_CALL": 5,
|
|
@@ -2870,7 +2870,7 @@ interface components {
|
|
|
2870
2870
|
/**
|
|
2871
2871
|
* Model Name
|
|
2872
2872
|
* @description The name of the non-reasoning model to be used.
|
|
2873
|
-
* @default
|
|
2873
|
+
* @default Q3VL@ARBICITY
|
|
2874
2874
|
*/
|
|
2875
2875
|
MODEL_NAME: string;
|
|
2876
2876
|
/**
|
|
@@ -3039,7 +3039,7 @@ interface components {
|
|
|
3039
3039
|
/**
|
|
3040
3040
|
* Model Name
|
|
3041
3041
|
* @description The name of the non-reasoning model to be used.
|
|
3042
|
-
* @default
|
|
3042
|
+
* @default Q3VL@ARBICITY
|
|
3043
3043
|
*/
|
|
3044
3044
|
MODEL_NAME: string;
|
|
3045
3045
|
/**
|
|
@@ -3358,7 +3358,7 @@ interface components {
|
|
|
3358
3358
|
/**
|
|
3359
3359
|
* Model Name
|
|
3360
3360
|
* @description The model for memory synthesis. Defaults to reasoning model.
|
|
3361
|
-
* @default
|
|
3361
|
+
* @default GPTOSS120@ARBICITY
|
|
3362
3362
|
*/
|
|
3363
3363
|
MODEL_NAME: string;
|
|
3364
3364
|
/**
|
|
@@ -3952,7 +3952,7 @@ interface components {
|
|
|
3952
3952
|
/**
|
|
3953
3953
|
* Model Name
|
|
3954
3954
|
* @description The model for plan generation. Defaults to reasoning model.
|
|
3955
|
-
* @default
|
|
3955
|
+
* @default GPTOSS120@ARBICITY
|
|
3956
3956
|
*/
|
|
3957
3957
|
MODEL_NAME: string;
|
|
3958
3958
|
/**
|
|
@@ -4065,7 +4065,7 @@ interface components {
|
|
|
4065
4065
|
/**
|
|
4066
4066
|
* Model Name
|
|
4067
4067
|
* @description The model for query answering.
|
|
4068
|
-
* @default
|
|
4068
|
+
* @default Q3VL@ARBICITY
|
|
4069
4069
|
*/
|
|
4070
4070
|
MODEL_NAME: string;
|
|
4071
4071
|
/**
|
|
@@ -4867,7 +4867,7 @@ interface components {
|
|
|
4867
4867
|
/**
|
|
4868
4868
|
* Model Name
|
|
4869
4869
|
* @description The model for reviewing agent draft answers. Defaults to reasoning model.
|
|
4870
|
-
* @default
|
|
4870
|
+
* @default GPTOSS120@ARBICITY
|
|
4871
4871
|
*/
|
|
4872
4872
|
MODEL_NAME: string;
|
|
4873
4873
|
/**
|
|
@@ -5257,7 +5257,7 @@ interface components {
|
|
|
5257
5257
|
/**
|
|
5258
5258
|
* Model Name
|
|
5259
5259
|
* @description The model for conversation summarisation. Defaults to reasoning model.
|
|
5260
|
-
* @default
|
|
5260
|
+
* @default GPTOSS120@ARBICITY
|
|
5261
5261
|
*/
|
|
5262
5262
|
MODEL_NAME: string;
|
|
5263
5263
|
/**
|
|
@@ -5435,7 +5435,7 @@ interface components {
|
|
|
5435
5435
|
/**
|
|
5436
5436
|
* Model Name
|
|
5437
5437
|
* @description The name of the non-reasoning model to be used.
|
|
5438
|
-
* @default
|
|
5438
|
+
* @default Q3VL@ARBICITY
|
|
5439
5439
|
*/
|
|
5440
5440
|
MODEL_NAME: string;
|
|
5441
5441
|
/**
|
|
@@ -6014,7 +6014,7 @@ interface components {
|
|
|
6014
6014
|
/**
|
|
6015
6015
|
* Model Name
|
|
6016
6016
|
* @description The vision-capable model name (must support image inputs).
|
|
6017
|
-
* @default
|
|
6017
|
+
* @default Q3VL@ARBICITY
|
|
6018
6018
|
*/
|
|
6019
6019
|
MODEL_NAME: string;
|
|
6020
6020
|
/**
|
|
@@ -6454,7 +6454,10 @@ interface operations {
|
|
|
6454
6454
|
};
|
|
6455
6455
|
logout: {
|
|
6456
6456
|
parameters: {
|
|
6457
|
-
query?:
|
|
6457
|
+
query?: {
|
|
6458
|
+
/** @description If true, log out from all sessions (all devices) */
|
|
6459
|
+
all_sessions?: boolean;
|
|
6460
|
+
};
|
|
6458
6461
|
header?: never;
|
|
6459
6462
|
path?: never;
|
|
6460
6463
|
cookie?: never;
|
|
@@ -6470,6 +6473,15 @@ interface operations {
|
|
|
6470
6473
|
'application/json': components['schemas']['LogoutResponse'];
|
|
6471
6474
|
};
|
|
6472
6475
|
};
|
|
6476
|
+
/** @description Validation Error */
|
|
6477
|
+
422: {
|
|
6478
|
+
headers: {
|
|
6479
|
+
[name: string]: unknown;
|
|
6480
|
+
};
|
|
6481
|
+
content: {
|
|
6482
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
6483
|
+
};
|
|
6484
|
+
};
|
|
6473
6485
|
};
|
|
6474
6486
|
};
|
|
6475
6487
|
change_password: {
|
package/dist/index.js
CHANGED
|
@@ -611,6 +611,14 @@ async function getOrCreateWrappingKey() {
|
|
|
611
611
|
if (result?.key) {
|
|
612
612
|
resolve(result.key);
|
|
613
613
|
} else {
|
|
614
|
+
if (!crypto?.subtle) {
|
|
615
|
+
reject(
|
|
616
|
+
new Error(
|
|
617
|
+
"Web Crypto API not available. Ensure the page is served over HTTPS or localhost."
|
|
618
|
+
)
|
|
619
|
+
);
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
614
622
|
crypto.subtle.generateKey(
|
|
615
623
|
{
|
|
616
624
|
name: "AES-GCM",
|
|
@@ -677,6 +685,9 @@ async function decryptWithWrappingKey(ciphertext, iv) {
|
|
|
677
685
|
return new Uint8Array(decrypted);
|
|
678
686
|
}
|
|
679
687
|
async function saveSession(sessionData) {
|
|
688
|
+
if (!crypto?.subtle) {
|
|
689
|
+
return;
|
|
690
|
+
}
|
|
680
691
|
await ensureDatabase();
|
|
681
692
|
if (!db) {
|
|
682
693
|
throw new Error("Database not initialized");
|
|
@@ -718,6 +729,9 @@ async function saveSession(sessionData) {
|
|
|
718
729
|
}
|
|
719
730
|
}
|
|
720
731
|
async function getSession() {
|
|
732
|
+
if (!crypto?.subtle) {
|
|
733
|
+
return null;
|
|
734
|
+
}
|
|
721
735
|
await ensureDatabase();
|
|
722
736
|
if (!db) {
|
|
723
737
|
throw new Error("Database not initialized");
|
|
@@ -826,6 +840,9 @@ async function clearWrappingKey() {
|
|
|
826
840
|
});
|
|
827
841
|
}
|
|
828
842
|
async function clearAllData() {
|
|
843
|
+
if (!crypto?.subtle) {
|
|
844
|
+
return;
|
|
845
|
+
}
|
|
829
846
|
await clearSession();
|
|
830
847
|
await clearWrappingKey();
|
|
831
848
|
}
|