@fencyai/js 0.1.107 → 0.1.109

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.
Files changed (128) hide show
  1. package/lib/api/createAgentTask.d.ts +2 -1
  2. package/lib/api/createAgentTask.js +4 -4
  3. package/lib/api/createFileDownloadLink.d.ts +2 -1
  4. package/lib/api/createFileDownloadLink.js +6 -4
  5. package/lib/api/createStream.d.ts +1 -1
  6. package/lib/api/createStream.js +20 -4
  7. package/lib/index.d.ts +6 -5
  8. package/lib/index.js +2 -3
  9. package/lib/loadFency.d.ts +2 -1
  10. package/lib/openapi/ct/core/ApiError.d.ts +10 -0
  11. package/lib/openapi/ct/core/ApiError.js +11 -0
  12. package/lib/openapi/ct/core/ApiRequestOptions.d.ts +13 -0
  13. package/lib/openapi/ct/core/ApiResult.d.ts +7 -0
  14. package/lib/openapi/ct/core/CancelablePromise.d.ts +20 -0
  15. package/lib/openapi/ct/core/CancelablePromise.js +111 -0
  16. package/lib/openapi/ct/core/OpenAPI.d.ts +16 -0
  17. package/lib/openapi/ct/core/OpenAPI.js +11 -0
  18. package/lib/openapi/ct/core/request.d.ts +30 -0
  19. package/lib/openapi/ct/core/request.js +275 -0
  20. package/lib/openapi/ct/index.d.ts +12 -0
  21. package/lib/openapi/{index.js → ct/index.js} +0 -1
  22. package/lib/openapi/{models → ct/models}/StreamDto.d.ts +1 -0
  23. package/lib/openapi/ct/models/StreamEventType.d.ts +6 -0
  24. package/lib/openapi/ct/models/StreamEventType.js +11 -0
  25. package/lib/openapi/ct/services/PubService.d.ts +19 -0
  26. package/lib/openapi/ct/services/PubService.js +26 -0
  27. package/lib/openapi/ct-st/index.d.ts +9 -0
  28. package/lib/openapi/ct-st/index.js +9 -0
  29. package/lib/openapi/{models → ct-st/models}/PubCreateAgentTaskRequest.d.ts +0 -1
  30. package/lib/openapi/ct-st/services/PubService.d.ts +20 -0
  31. package/lib/openapi/ct-st/services/PubService.js +33 -0
  32. package/lib/types/AgentTask.d.ts +1 -1
  33. package/lib/types/Stream.d.ts +1 -0
  34. package/lib/types/index.d.ts +1 -22
  35. package/lib/types/index.js +1 -2
  36. package/lib/utils/version.js +1 -1
  37. package/package.json +3 -3
  38. package/lib/api/listMemoryTypes.d.ts +0 -6
  39. package/lib/api/listMemoryTypes.js +0 -28
  40. package/lib/api/searchMemories.d.ts +0 -8
  41. package/lib/api/searchMemories.js +0 -27
  42. package/lib/openapi/index.d.ts +0 -27
  43. package/lib/openapi/models/ChatCompletionStreamCompletedEventDto.d.ts +0 -7
  44. package/lib/openapi/models/FileSearchIndexReadyEventDto.d.ts +0 -7
  45. package/lib/openapi/models/FileTextContentReadyEventDto.d.ts +0 -8
  46. package/lib/openapi/models/FileTextContentReadyEventDto.js +0 -1
  47. package/lib/openapi/models/FileUploadCompletedEventDto.d.ts +0 -7
  48. package/lib/openapi/models/FileUploadCompletedEventDto.js +0 -1
  49. package/lib/openapi/models/ListMemoryTypesResponse.d.ts +0 -6
  50. package/lib/openapi/models/ListMemoryTypesResponse.js +0 -1
  51. package/lib/openapi/models/NewChatCompletionStreamChunkEventDto.d.ts +0 -8
  52. package/lib/openapi/models/NewChatCompletionStreamChunkEventDto.js +0 -1
  53. package/lib/openapi/models/PaginationDto.d.ts +0 -4
  54. package/lib/openapi/models/PaginationDto.js +0 -1
  55. package/lib/openapi/models/PubMemoryDto.d.ts +0 -5
  56. package/lib/openapi/models/PubMemoryDto.js +0 -1
  57. package/lib/openapi/models/PubMemoryTypeDto.d.ts +0 -5
  58. package/lib/openapi/models/PubMemoryTypeDto.js +0 -1
  59. package/lib/openapi/models/PubSearchMemoriesRequest.d.ts +0 -4
  60. package/lib/openapi/models/PubSearchMemoriesRequest.js +0 -1
  61. package/lib/openapi/models/PubSearchMemoriesResponse.d.ts +0 -4
  62. package/lib/openapi/models/PubSearchMemoriesResponse.js +0 -1
  63. package/lib/openapi/models/StreamEventType.d.ts +0 -12
  64. package/lib/openapi/models/StreamEventType.js +0 -17
  65. package/lib/openapi/services/PubService.d.ts +0 -63
  66. package/lib/openapi/services/PubService.js +0 -96
  67. package/lib/types/AnthropicModel.d.ts +0 -1
  68. package/lib/types/AnthropicModel.js +0 -1
  69. package/lib/types/ChatCompletion.d.ts +0 -8
  70. package/lib/types/ChatCompletion.js +0 -7
  71. package/lib/types/ChatCompletionMessage.d.ts +0 -4
  72. package/lib/types/ChatCompletionMessage.js +0 -1
  73. package/lib/types/ClaudeChatCompletionMessage.d.ts +0 -4
  74. package/lib/types/ClaudeChatCompletionMessage.js +0 -1
  75. package/lib/types/CreateChatCompletionRequest.d.ts +0 -10
  76. package/lib/types/CreateChatCompletionRequest.js +0 -1
  77. package/lib/types/CreateChatCompletionResponse.d.ts +0 -9
  78. package/lib/types/CreateChatCompletionResponse.js +0 -1
  79. package/lib/types/CreateClaudeChatCompletionRequestParams.d.ts +0 -10
  80. package/lib/types/CreateClaudeChatCompletionRequestParams.js +0 -1
  81. package/lib/types/CreateGeminiChatCompletionRequestParams.d.ts +0 -11
  82. package/lib/types/CreateGeminiChatCompletionRequestParams.js +0 -1
  83. package/lib/types/CreateOpenAiChatCompletionRequestParams.d.ts +0 -9
  84. package/lib/types/CreateOpenAiChatCompletionRequestParams.js +0 -1
  85. package/lib/types/GeminiChatCompletionMessage.d.ts +0 -4
  86. package/lib/types/GeminiChatCompletionMessage.js +0 -1
  87. package/lib/types/GeminiModel.d.ts +0 -1
  88. package/lib/types/GeminiModel.js +0 -1
  89. package/lib/types/ListMemoryTypesResponse.d.ts +0 -10
  90. package/lib/types/ListMemoryTypesResponse.js +0 -1
  91. package/lib/types/OpenAiModel.d.ts +0 -1
  92. package/lib/types/OpenAiModel.js +0 -1
  93. package/lib/types/SearchMemoriesRequest.d.ts +0 -4
  94. package/lib/types/SearchMemoriesRequest.js +0 -1
  95. package/lib/types/SearchMemoriesResponse.d.ts +0 -9
  96. package/lib/types/SearchMemoriesResponse.js +0 -1
  97. /package/lib/openapi/{models/AgentTaskProgressItemUpdatedEventDto.js → ct/core/ApiRequestOptions.js} +0 -0
  98. /package/lib/openapi/{models/ChatCompletionStreamCompletedEventDto.js → ct/core/ApiResult.js} +0 -0
  99. /package/lib/openapi/{models → ct/models}/AgentTaskProgressItemType.d.ts +0 -0
  100. /package/lib/openapi/{models → ct/models}/AgentTaskProgressItemType.js +0 -0
  101. /package/lib/openapi/{models → ct/models}/AgentTaskProgressItemUpdatedEventDto.d.ts +0 -0
  102. /package/lib/openapi/{models/FileSearchIndexReadyEventDto.js → ct/models/AgentTaskProgressItemUpdatedEventDto.js} +0 -0
  103. /package/lib/openapi/{models → ct/models}/ApiDtoType.d.ts +0 -0
  104. /package/lib/openapi/{models → ct/models}/ApiDtoType.js +0 -0
  105. /package/lib/openapi/{models → ct/models}/StreamDto.js +0 -0
  106. /package/lib/openapi/{models → ct/models}/StreamNotFoundEventDto.d.ts +0 -0
  107. /package/lib/openapi/{models → ct/models}/StreamNotFoundEventDto.js +0 -0
  108. /package/lib/openapi/{models → ct/models}/StreamTimeoutEventDto.d.ts +0 -0
  109. /package/lib/openapi/{models → ct/models}/StreamTimeoutEventDto.js +0 -0
  110. /package/lib/openapi/{core → ct-st/core}/ApiError.d.ts +0 -0
  111. /package/lib/openapi/{core → ct-st/core}/ApiError.js +0 -0
  112. /package/lib/openapi/{core → ct-st/core}/ApiRequestOptions.d.ts +0 -0
  113. /package/lib/openapi/{core → ct-st/core}/ApiRequestOptions.js +0 -0
  114. /package/lib/openapi/{core → ct-st/core}/ApiResult.d.ts +0 -0
  115. /package/lib/openapi/{core → ct-st/core}/ApiResult.js +0 -0
  116. /package/lib/openapi/{core → ct-st/core}/CancelablePromise.d.ts +0 -0
  117. /package/lib/openapi/{core → ct-st/core}/CancelablePromise.js +0 -0
  118. /package/lib/openapi/{core → ct-st/core}/OpenAPI.d.ts +0 -0
  119. /package/lib/openapi/{core → ct-st/core}/OpenAPI.js +0 -0
  120. /package/lib/openapi/{core → ct-st/core}/request.d.ts +0 -0
  121. /package/lib/openapi/{core → ct-st/core}/request.js +0 -0
  122. /package/lib/openapi/{models → ct-st/models}/AgentTaskStatusDto.d.ts +0 -0
  123. /package/lib/openapi/{models → ct-st/models}/AgentTaskStatusDto.js +0 -0
  124. /package/lib/openapi/{models → ct-st/models}/PubAgentTaskDto.d.ts +0 -0
  125. /package/lib/openapi/{models → ct-st/models}/PubAgentTaskDto.js +0 -0
  126. /package/lib/openapi/{models → ct-st/models}/PubCreateAgentTaskRequest.js +0 -0
  127. /package/lib/openapi/{models → ct-st/models}/PubCreateFileDownloadLinkResponse.d.ts +0 -0
  128. /package/lib/openapi/{models → ct-st/models}/PubCreateFileDownloadLinkResponse.js +0 -0
@@ -1,8 +0,0 @@
1
- import type { StreamEventType } from './StreamEventType';
2
- export type FileTextContentReadyEventDto = {
3
- type: StreamEventType;
4
- streamId: string;
5
- fileId: string;
6
- textContent: string;
7
- timestamp: string;
8
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import type { StreamEventType } from './StreamEventType';
2
- export type FileUploadCompletedEventDto = {
3
- type: StreamEventType;
4
- streamId: string;
5
- fileId: string;
6
- timestamp: string;
7
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import type { PaginationDto } from './PaginationDto';
2
- import type { PubMemoryTypeDto } from './PubMemoryTypeDto';
3
- export type ListMemoryTypesResponse = {
4
- items: Array<PubMemoryTypeDto>;
5
- pagination: PaginationDto;
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import type { StreamEventType } from './StreamEventType';
2
- export type NewChatCompletionStreamChunkEventDto = {
3
- type: StreamEventType;
4
- streamId: string;
5
- chatCompletionId: string;
6
- timestamp: string;
7
- content: string;
8
- };
@@ -1,4 +0,0 @@
1
- export type PaginationDto = {
2
- previousPageToken?: string | null;
3
- nextPageToken?: string | null;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export type PubMemoryDto = {
2
- id: string;
3
- createdAt: string;
4
- title?: string | null;
5
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export type PubMemoryTypeDto = {
2
- id: string;
3
- createdAt: string;
4
- name: string;
5
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export type PubSearchMemoriesRequest = {
2
- title?: string | null;
3
- memoryTypeId?: string | null;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import type { PubMemoryDto } from './PubMemoryDto';
2
- export type PubSearchMemoriesResponse = {
3
- items: Array<PubMemoryDto>;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- export declare enum StreamEventType {
2
- NEW_CHAT_COMPLETION_STREAM_CHUNK = "NewChatCompletionStreamChunk",
3
- CHAT_COMPLETION_STREAM_COMPLETED = "ChatCompletionStreamCompleted",
4
- STREAM_TIMEOUT = "StreamTimeout",
5
- STREAM_NOT_FOUND = "StreamNotFound",
6
- FILE_UPLOAD_COMPLETED = "FileUploadCompleted",
7
- FILE_TEXT_CONTENT_READY = "FileTextContentReady",
8
- WEBSITE_HTML_CONTENT_READY = "WebsiteHtmlContentReady",
9
- WEBSITE_TEXT_CONTENT_READY = "WebsiteTextContentReady",
10
- FILE_SEARCH_INDEX_READY = "FileSearchIndexReady",
11
- AGENT_TASK_PROGRESS_ITEM_UPDATED = "AgentTaskProgressItemUpdated"
12
- }
@@ -1,17 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export var StreamEventType;
6
- (function (StreamEventType) {
7
- StreamEventType["NEW_CHAT_COMPLETION_STREAM_CHUNK"] = "NewChatCompletionStreamChunk";
8
- StreamEventType["CHAT_COMPLETION_STREAM_COMPLETED"] = "ChatCompletionStreamCompleted";
9
- StreamEventType["STREAM_TIMEOUT"] = "StreamTimeout";
10
- StreamEventType["STREAM_NOT_FOUND"] = "StreamNotFound";
11
- StreamEventType["FILE_UPLOAD_COMPLETED"] = "FileUploadCompleted";
12
- StreamEventType["FILE_TEXT_CONTENT_READY"] = "FileTextContentReady";
13
- StreamEventType["WEBSITE_HTML_CONTENT_READY"] = "WebsiteHtmlContentReady";
14
- StreamEventType["WEBSITE_TEXT_CONTENT_READY"] = "WebsiteTextContentReady";
15
- StreamEventType["FILE_SEARCH_INDEX_READY"] = "FileSearchIndexReady";
16
- StreamEventType["AGENT_TASK_PROGRESS_ITEM_UPDATED"] = "AgentTaskProgressItemUpdated";
17
- })(StreamEventType || (StreamEventType = {}));
@@ -1,63 +0,0 @@
1
- import type { AgentTaskProgressItemUpdatedEventDto } from '../models/AgentTaskProgressItemUpdatedEventDto';
2
- import type { ChatCompletionStreamCompletedEventDto } from '../models/ChatCompletionStreamCompletedEventDto';
3
- import type { FileSearchIndexReadyEventDto } from '../models/FileSearchIndexReadyEventDto';
4
- import type { FileTextContentReadyEventDto } from '../models/FileTextContentReadyEventDto';
5
- import type { FileUploadCompletedEventDto } from '../models/FileUploadCompletedEventDto';
6
- import type { ListMemoryTypesResponse } from '../models/ListMemoryTypesResponse';
7
- import type { NewChatCompletionStreamChunkEventDto } from '../models/NewChatCompletionStreamChunkEventDto';
8
- import type { PubAgentTaskDto } from '../models/PubAgentTaskDto';
9
- import type { PubCreateAgentTaskRequest } from '../models/PubCreateAgentTaskRequest';
10
- import type { PubCreateFileDownloadLinkResponse } from '../models/PubCreateFileDownloadLinkResponse';
11
- import type { PubSearchMemoriesRequest } from '../models/PubSearchMemoriesRequest';
12
- import type { PubSearchMemoriesResponse } from '../models/PubSearchMemoriesResponse';
13
- import type { StreamDto } from '../models/StreamDto';
14
- import type { StreamNotFoundEventDto } from '../models/StreamNotFoundEventDto';
15
- import type { StreamTimeoutEventDto } from '../models/StreamTimeoutEventDto';
16
- import type { CancelablePromise } from '../core/CancelablePromise';
17
- export declare class PubService {
18
- /**
19
- * Create AgentTask
20
- * @param requestBody
21
- * @returns PubAgentTaskDto Created
22
- * @throws ApiError
23
- */
24
- static createAgentTask(requestBody: PubCreateAgentTaskRequest): CancelablePromise<PubAgentTaskDto>;
25
- /**
26
- * Create File Download Link
27
- * @param fileId
28
- * @returns PubCreateFileDownloadLinkResponse OK
29
- * @throws ApiError
30
- */
31
- static createFileDownloadLink(fileId: string): CancelablePromise<PubCreateFileDownloadLinkResponse>;
32
- /**
33
- * Search Memories
34
- * @param requestBody
35
- * @param nextPageToken
36
- * @param previousPageToken
37
- * @param limit
38
- * @returns PubSearchMemoriesResponse OK
39
- * @throws ApiError
40
- */
41
- static searchMemories(requestBody: PubSearchMemoriesRequest, nextPageToken?: string, previousPageToken?: string, limit?: number): CancelablePromise<PubSearchMemoriesResponse>;
42
- /**
43
- * List Memory Types
44
- * @param nextPageToken
45
- * @param previousPageToken
46
- * @param limit
47
- * @returns ListMemoryTypesResponse OK
48
- * @throws ApiError
49
- */
50
- static listMemoryTypes(nextPageToken?: string, previousPageToken?: string, limit?: number): CancelablePromise<ListMemoryTypesResponse>;
51
- /**
52
- * Create Chat Completion Stream
53
- * @returns StreamDto Created
54
- * @throws ApiError
55
- */
56
- static createStream(): CancelablePromise<StreamDto>;
57
- /**
58
- * Get pub types
59
- * @returns any OK
60
- * @throws ApiError
61
- */
62
- static getPubTypes(): CancelablePromise<(StreamTimeoutEventDto | StreamNotFoundEventDto | NewChatCompletionStreamChunkEventDto | ChatCompletionStreamCompletedEventDto | FileUploadCompletedEventDto | FileTextContentReadyEventDto | FileSearchIndexReadyEventDto | AgentTaskProgressItemUpdatedEventDto)>;
63
- }
@@ -1,96 +0,0 @@
1
- import { OpenAPI } from '../core/OpenAPI';
2
- import { request as __request } from '../core/request';
3
- export class PubService {
4
- /**
5
- * Create AgentTask
6
- * @param requestBody
7
- * @returns PubAgentTaskDto Created
8
- * @throws ApiError
9
- */
10
- static createAgentTask(requestBody) {
11
- return __request(OpenAPI, {
12
- method: 'POST',
13
- url: '/v1/pub/agent-tasks',
14
- body: requestBody,
15
- mediaType: 'application/json',
16
- });
17
- }
18
- /**
19
- * Create File Download Link
20
- * @param fileId
21
- * @returns PubCreateFileDownloadLinkResponse OK
22
- * @throws ApiError
23
- */
24
- static createFileDownloadLink(fileId) {
25
- return __request(OpenAPI, {
26
- method: 'POST',
27
- url: '/v1/pub/files/{fileId}/download-links',
28
- path: {
29
- 'fileId': fileId,
30
- },
31
- });
32
- }
33
- /**
34
- * Search Memories
35
- * @param requestBody
36
- * @param nextPageToken
37
- * @param previousPageToken
38
- * @param limit
39
- * @returns PubSearchMemoriesResponse OK
40
- * @throws ApiError
41
- */
42
- static searchMemories(requestBody, nextPageToken, previousPageToken, limit) {
43
- return __request(OpenAPI, {
44
- method: 'POST',
45
- url: '/v1/pub/memories/search',
46
- query: {
47
- 'nextPageToken': nextPageToken,
48
- 'previousPageToken': previousPageToken,
49
- 'limit': limit,
50
- },
51
- body: requestBody,
52
- mediaType: 'application/json',
53
- });
54
- }
55
- /**
56
- * List Memory Types
57
- * @param nextPageToken
58
- * @param previousPageToken
59
- * @param limit
60
- * @returns ListMemoryTypesResponse OK
61
- * @throws ApiError
62
- */
63
- static listMemoryTypes(nextPageToken, previousPageToken, limit) {
64
- return __request(OpenAPI, {
65
- method: 'GET',
66
- url: '/v1/pub/memory-types',
67
- query: {
68
- 'nextPageToken': nextPageToken,
69
- 'previousPageToken': previousPageToken,
70
- 'limit': limit,
71
- },
72
- });
73
- }
74
- /**
75
- * Create Chat Completion Stream
76
- * @returns StreamDto Created
77
- * @throws ApiError
78
- */
79
- static createStream() {
80
- return __request(OpenAPI, {
81
- method: 'POST',
82
- url: '/v1/pub/streams',
83
- });
84
- }
85
- /**
86
- * Get pub types
87
- * @returns any OK
88
- * @throws ApiError
89
- */
90
- static getPubTypes() {
91
- return __request(OpenAPI, {
92
- method: 'POST',
93
- url: '/v1/pub/types',
94
- });
95
- }
96
- }
@@ -1 +0,0 @@
1
- export type AnthropicModel = 'claude-opus-4-0' | 'claude-sonnet-4-0';
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- export type ChatCompletion = {
2
- id: string;
3
- streamId?: string;
4
- response?: string;
5
- responseIsStructured?: boolean;
6
- createdAt: string;
7
- };
8
- export declare const isChatCompletion: (data: any) => data is ChatCompletion;
@@ -1,7 +0,0 @@
1
- export const isChatCompletion = (data) => {
2
- return (typeof data === 'object' &&
3
- data !== null &&
4
- 'id' in data &&
5
- 'createdAt' in data &&
6
- data.type === 'ChatCompletion');
7
- };
@@ -1,4 +0,0 @@
1
- export type ChatCompletionMessage = {
2
- role: 'user' | 'assistant' | 'system';
3
- content: string;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export type ClaudeChatCompletionMessage = {
2
- role: 'user' | 'assistant';
3
- content: string;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- import { CreateClaudeChatCompletionRequestParams } from './CreateClaudeChatCompletionRequestParams';
2
- import { CreateGeminiChatCompletionRequestParams } from './CreateGeminiChatCompletionRequestParams';
3
- import { CreateOpenAiChatCompletionRequestParams } from './CreateOpenAiChatCompletionRequestParams';
4
- export interface CreateChatCompletionRequest {
5
- streamId?: string;
6
- sessionClientSecret?: string;
7
- openai?: CreateOpenAiChatCompletionRequestParams;
8
- gemini?: CreateGeminiChatCompletionRequestParams;
9
- claude?: CreateClaudeChatCompletionRequestParams;
10
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- import { ApiError } from './ApiError';
2
- import { ChatCompletion } from './ChatCompletion';
3
- export type CreateChatCompletionResponse = {
4
- type: 'success';
5
- completion: ChatCompletion;
6
- } | {
7
- type: 'error';
8
- error: ApiError;
9
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- import { AnthropicModel } from './AnthropicModel';
2
- import { ClaudeChatCompletionMessage } from './ClaudeChatCompletionMessage';
3
- export type CreateClaudeChatCompletionRequestParams = {
4
- model: AnthropicModel;
5
- messages: Array<ClaudeChatCompletionMessage>;
6
- systemPrompt?: string;
7
- temperature?: number;
8
- topP?: number;
9
- topK?: number;
10
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,11 +0,0 @@
1
- import { GeminiChatCompletionMessage } from './GeminiChatCompletionMessage';
2
- import { GeminiModel } from './GeminiModel';
3
- export type CreateGeminiChatCompletionRequestParams = {
4
- model: GeminiModel;
5
- messages: Array<GeminiChatCompletionMessage>;
6
- systemPrompt?: string;
7
- responseJsonSchema?: string;
8
- temperature?: number;
9
- topP?: number;
10
- topK?: number;
11
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- import { ChatCompletionMessage } from './ChatCompletionMessage';
2
- import { OpenAiModel } from './OpenAiModel';
3
- export type CreateOpenAiChatCompletionRequestParams = {
4
- model: OpenAiModel;
5
- messages: Array<ChatCompletionMessage>;
6
- responseJsonSchema?: string;
7
- temperature?: number;
8
- topP?: number;
9
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export type GeminiChatCompletionMessage = {
2
- role: 'user' | 'model';
3
- content: string;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export type GeminiModel = 'gemini-2.5-pro' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite-preview-06-17';
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- import { PaginationDto, PubMemoryTypeDto } from '../openapi';
2
- import { ApiError } from './ApiError';
3
- export type ListMemoryTypesResponse = {
4
- type: 'success';
5
- items: PubMemoryTypeDto[];
6
- pagination: PaginationDto;
7
- } | {
8
- type: 'error';
9
- error: ApiError;
10
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export type OpenAiModel = 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini';
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export interface SearchMemoriesRequest {
2
- memoryTypeId?: string;
3
- title?: string;
4
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- import { PubMemoryDto } from '../openapi';
2
- import { ApiError } from './ApiError';
3
- export type SearchMemoriesResponse = {
4
- type: 'success';
5
- items: PubMemoryDto[];
6
- } | {
7
- type: 'error';
8
- error: ApiError;
9
- };
@@ -1 +0,0 @@
1
- export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes