@mate-academy/llm-gateway 8.8.1 → 8.8.2

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 (352) hide show
  1. package/package.json +1 -1
  2. package/dist/LLMError.d.ts +0 -12
  3. package/dist/LLMError.js +0 -36
  4. package/dist/LLMError.js.map +0 -1
  5. package/dist/LLMGateway.d.ts +0 -30
  6. package/dist/LLMGateway.js +0 -56
  7. package/dist/LLMGateway.js.map +0 -1
  8. package/dist/LLMGateway.typedefs.d.ts +0 -5
  9. package/dist/LLMGateway.typedefs.js +0 -3
  10. package/dist/LLMGateway.typedefs.js.map +0 -1
  11. package/dist/LLMService.constants.d.ts +0 -26309
  12. package/dist/LLMService.constants.js +0 -35
  13. package/dist/LLMService.constants.js.map +0 -1
  14. package/dist/LLMService.factory.d.ts +0 -71
  15. package/dist/LLMService.factory.js +0 -102
  16. package/dist/LLMService.factory.js.map +0 -1
  17. package/dist/LLMService.typedefs.d.ts +0 -655
  18. package/dist/LLMService.typedefs.js +0 -72
  19. package/dist/LLMService.typedefs.js.map +0 -1
  20. package/dist/advanced.d.ts +0 -11
  21. package/dist/advanced.js +0 -32
  22. package/dist/advanced.js.map +0 -1
  23. package/dist/client/LLMAgent.d.ts +0 -76
  24. package/dist/client/LLMAgent.js +0 -36
  25. package/dist/client/LLMAgent.js.map +0 -1
  26. package/dist/client/LLMClientEngine.d.ts +0 -110
  27. package/dist/client/LLMClientEngine.js +0 -406
  28. package/dist/client/LLMClientEngine.js.map +0 -1
  29. package/dist/client/agentRun.typedefs.d.ts +0 -200
  30. package/dist/client/agentRun.typedefs.js +0 -25
  31. package/dist/client/agentRun.typedefs.js.map +0 -1
  32. package/dist/client/agentRunner.d.ts +0 -161
  33. package/dist/client/agentRunner.js +0 -517
  34. package/dist/client/agentRunner.js.map +0 -1
  35. package/dist/client/codegen/fetchPromptRecords.d.ts +0 -14
  36. package/dist/client/codegen/fetchPromptRecords.js +0 -90
  37. package/dist/client/codegen/fetchPromptRecords.js.map +0 -1
  38. package/dist/client/codegen/generateSnapshot.d.ts +0 -19
  39. package/dist/client/codegen/generateSnapshot.js +0 -28
  40. package/dist/client/codegen/generateSnapshot.js.map +0 -1
  41. package/dist/client/codegen/index.d.ts +0 -6
  42. package/dist/client/codegen/index.js +0 -23
  43. package/dist/client/codegen/index.js.map +0 -1
  44. package/dist/client/codegen/promptCatalog.typedefs.d.ts +0 -51
  45. package/dist/client/codegen/promptCatalog.typedefs.js +0 -3
  46. package/dist/client/codegen/promptCatalog.typedefs.js.map +0 -1
  47. package/dist/client/codegen/promptName.d.ts +0 -8
  48. package/dist/client/codegen/promptName.js +0 -21
  49. package/dist/client/codegen/promptName.js.map +0 -1
  50. package/dist/client/codegen/renderSnapshot.constants.d.ts +0 -7
  51. package/dist/client/codegen/renderSnapshot.constants.js +0 -16
  52. package/dist/client/codegen/renderSnapshot.constants.js.map +0 -1
  53. package/dist/client/codegen/renderSnapshot.d.ts +0 -9
  54. package/dist/client/codegen/renderSnapshot.js +0 -109
  55. package/dist/client/codegen/renderSnapshot.js.map +0 -1
  56. package/dist/client/codegen/renderSnapshot.typedefs.d.ts +0 -19
  57. package/dist/client/codegen/renderSnapshot.typedefs.js +0 -3
  58. package/dist/client/codegen/renderSnapshot.typedefs.js.map +0 -1
  59. package/dist/client/coerceToolResult.d.ts +0 -10
  60. package/dist/client/coerceToolResult.js +0 -38
  61. package/dist/client/coerceToolResult.js.map +0 -1
  62. package/dist/client/createLLMClient.d.ts +0 -10
  63. package/dist/client/createLLMClient.js +0 -47
  64. package/dist/client/createLLMClient.js.map +0 -1
  65. package/dist/client/defineLLMPrompts.d.ts +0 -34
  66. package/dist/client/defineLLMPrompts.js +0 -13
  67. package/dist/client/defineLLMPrompts.js.map +0 -1
  68. package/dist/client/errors.d.ts +0 -57
  69. package/dist/client/errors.js +0 -70
  70. package/dist/client/errors.js.map +0 -1
  71. package/dist/client/index.d.ts +0 -13
  72. package/dist/client/index.js +0 -30
  73. package/dist/client/index.js.map +0 -1
  74. package/dist/client/llmClient.typedefs.d.ts +0 -265
  75. package/dist/client/llmClient.typedefs.js +0 -11
  76. package/dist/client/llmClient.typedefs.js.map +0 -1
  77. package/dist/client/llmConfig.schema.d.ts +0 -53
  78. package/dist/client/llmConfig.schema.js +0 -49
  79. package/dist/client/llmConfig.schema.js.map +0 -1
  80. package/dist/client/plainMessages.d.ts +0 -12
  81. package/dist/client/plainMessages.js +0 -19
  82. package/dist/client/plainMessages.js.map +0 -1
  83. package/dist/client/promptClientPort.typedefs.d.ts +0 -60
  84. package/dist/client/promptClientPort.typedefs.js +0 -3
  85. package/dist/client/promptClientPort.typedefs.js.map +0 -1
  86. package/dist/client/promptRegistry.runtime.d.ts +0 -121
  87. package/dist/client/promptRegistry.runtime.js +0 -264
  88. package/dist/client/promptRegistry.runtime.js.map +0 -1
  89. package/dist/client/promptSnapshot.typedefs.d.ts +0 -55
  90. package/dist/client/promptSnapshot.typedefs.js +0 -3
  91. package/dist/client/promptSnapshot.typedefs.js.map +0 -1
  92. package/dist/client/promptVariables.d.ts +0 -7
  93. package/dist/client/promptVariables.js +0 -13
  94. package/dist/client/promptVariables.js.map +0 -1
  95. package/dist/client/snapshotRuntime.d.ts +0 -17
  96. package/dist/client/snapshotRuntime.js +0 -42
  97. package/dist/client/snapshotRuntime.js.map +0 -1
  98. package/dist/client/snapshotRuntime.typedefs.d.ts +0 -13
  99. package/dist/client/snapshotRuntime.typedefs.js +0 -3
  100. package/dist/client/snapshotRuntime.typedefs.js.map +0 -1
  101. package/dist/client/validationGate.d.ts +0 -24
  102. package/dist/client/validationGate.js +0 -54
  103. package/dist/client/validationGate.js.map +0 -1
  104. package/dist/codegen.d.ts +0 -6
  105. package/dist/codegen.js +0 -23
  106. package/dist/codegen.js.map +0 -1
  107. package/dist/index.d.ts +0 -10
  108. package/dist/index.js +0 -27
  109. package/dist/index.js.map +0 -1
  110. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.d.ts +0 -873
  111. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js +0 -269
  112. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js.map +0 -1
  113. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.entity.d.ts +0 -24
  114. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.entity.js +0 -210
  115. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.entity.js.map +0 -1
  116. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.typedefs.d.ts +0 -22
  117. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.typedefs.js +0 -20
  118. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.typedefs.js.map +0 -1
  119. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAIService.factory.d.ts +0 -6
  120. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAIService.factory.js +0 -18
  121. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAIService.factory.js.map +0 -1
  122. package/dist/providers/GoogleGenerativeAI/index.d.ts +0 -5
  123. package/dist/providers/GoogleGenerativeAI/index.js +0 -22
  124. package/dist/providers/GoogleGenerativeAI/index.js.map +0 -1
  125. package/dist/providers/GoogleGenerativeAI/schemas/GoogleSchemaAdapter.d.ts +0 -12
  126. package/dist/providers/GoogleGenerativeAI/schemas/GoogleSchemaAdapter.js +0 -72
  127. package/dist/providers/GoogleGenerativeAI/schemas/GoogleSchemaAdapter.js.map +0 -1
  128. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.d.ts +0 -71
  129. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.js +0 -876
  130. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.js.map +0 -1
  131. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAICompletion.service.d.ts +0 -25
  132. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAICompletion.service.js +0 -216
  133. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAICompletion.service.js.map +0 -1
  134. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.d.ts +0 -10
  135. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.js +0 -136
  136. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.js.map +0 -1
  137. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAITextToSpeech.service.d.ts +0 -11
  138. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAITextToSpeech.service.js +0 -97
  139. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAITextToSpeech.service.js.map +0 -1
  140. package/dist/providers/GoogleGenerativeAI/services/index.d.ts +0 -4
  141. package/dist/providers/GoogleGenerativeAI/services/index.js +0 -21
  142. package/dist/providers/GoogleGenerativeAI/services/index.js.map +0 -1
  143. package/dist/providers/LLMAPI/LLMAPI.constants.d.ts +0 -35832
  144. package/dist/providers/LLMAPI/LLMAPI.constants.js +0 -8601
  145. package/dist/providers/LLMAPI/LLMAPI.constants.js.map +0 -1
  146. package/dist/providers/LLMAPI/LLMAPI.entity.d.ts +0 -6
  147. package/dist/providers/LLMAPI/LLMAPI.entity.js +0 -48
  148. package/dist/providers/LLMAPI/LLMAPI.entity.js.map +0 -1
  149. package/dist/providers/LLMAPI/LLMAPI.typedefs.d.ts +0 -516
  150. package/dist/providers/LLMAPI/LLMAPI.typedefs.js +0 -564
  151. package/dist/providers/LLMAPI/LLMAPI.typedefs.js.map +0 -1
  152. package/dist/providers/LLMAPI/LLMAPI.voices.d.ts +0 -376
  153. package/dist/providers/LLMAPI/LLMAPI.voices.js +0 -739
  154. package/dist/providers/LLMAPI/LLMAPI.voices.js.map +0 -1
  155. package/dist/providers/LLMAPI/LLMAPIService.factory.d.ts +0 -6
  156. package/dist/providers/LLMAPI/LLMAPIService.factory.js +0 -19
  157. package/dist/providers/LLMAPI/LLMAPIService.factory.js.map +0 -1
  158. package/dist/providers/LLMAPI/index.d.ts +0 -7
  159. package/dist/providers/LLMAPI/index.js +0 -24
  160. package/dist/providers/LLMAPI/index.js.map +0 -1
  161. package/dist/providers/LLMAPI/schemas/LLMAPISchemaAdapter.d.ts +0 -3
  162. package/dist/providers/LLMAPI/schemas/LLMAPISchemaAdapter.js +0 -8
  163. package/dist/providers/LLMAPI/schemas/LLMAPISchemaAdapter.js.map +0 -1
  164. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.d.ts +0 -76
  165. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js +0 -825
  166. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js.map +0 -1
  167. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.d.ts +0 -25
  168. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js +0 -177
  169. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js.map +0 -1
  170. package/dist/providers/LLMAPI/services/LLMAPISpeechToText.service.d.ts +0 -17
  171. package/dist/providers/LLMAPI/services/LLMAPISpeechToText.service.js +0 -34
  172. package/dist/providers/LLMAPI/services/LLMAPISpeechToText.service.js.map +0 -1
  173. package/dist/providers/LLMAPI/services/LLMAPITextToSpeech.service.d.ts +0 -20
  174. package/dist/providers/LLMAPI/services/LLMAPITextToSpeech.service.js +0 -36
  175. package/dist/providers/LLMAPI/services/LLMAPITextToSpeech.service.js.map +0 -1
  176. package/dist/providers/LLMAPI/services/index.d.ts +0 -4
  177. package/dist/providers/LLMAPI/services/index.js +0 -21
  178. package/dist/providers/LLMAPI/services/index.js.map +0 -1
  179. package/dist/providers/LLMAPI/utilities/index.d.ts +0 -4
  180. package/dist/providers/LLMAPI/utilities/index.js +0 -13
  181. package/dist/providers/LLMAPI/utilities/index.js.map +0 -1
  182. package/dist/providers/LLMAPI/utilities/parseXmlToolCalls.d.ts +0 -7
  183. package/dist/providers/LLMAPI/utilities/parseXmlToolCalls.js +0 -35
  184. package/dist/providers/LLMAPI/utilities/parseXmlToolCalls.js.map +0 -1
  185. package/dist/providers/LLMAPI/utilities/stripThinkingTags.d.ts +0 -1
  186. package/dist/providers/LLMAPI/utilities/stripThinkingTags.js +0 -7
  187. package/dist/providers/LLMAPI/utilities/stripThinkingTags.js.map +0 -1
  188. package/dist/providers/LLMAPI/utilities/structuredOutput.d.ts +0 -13
  189. package/dist/providers/LLMAPI/utilities/structuredOutput.js +0 -29
  190. package/dist/providers/LLMAPI/utilities/structuredOutput.js.map +0 -1
  191. package/dist/providers/LLMAPI/utilities/validateStructuredResponse.d.ts +0 -10
  192. package/dist/providers/LLMAPI/utilities/validateStructuredResponse.js +0 -21
  193. package/dist/providers/LLMAPI/utilities/validateStructuredResponse.js.map +0 -1
  194. package/dist/providers/OpenAI/OpenAI.constants.d.ts +0 -1664
  195. package/dist/providers/OpenAI/OpenAI.constants.js +0 -310
  196. package/dist/providers/OpenAI/OpenAI.constants.js.map +0 -1
  197. package/dist/providers/OpenAI/OpenAI.entity.d.ts +0 -15
  198. package/dist/providers/OpenAI/OpenAI.entity.js +0 -162
  199. package/dist/providers/OpenAI/OpenAI.entity.js.map +0 -1
  200. package/dist/providers/OpenAI/OpenAI.typedefs.d.ts +0 -61
  201. package/dist/providers/OpenAI/OpenAI.typedefs.js +0 -39
  202. package/dist/providers/OpenAI/OpenAI.typedefs.js.map +0 -1
  203. package/dist/providers/OpenAI/OpenAIService.factory.d.ts +0 -6
  204. package/dist/providers/OpenAI/OpenAIService.factory.js +0 -18
  205. package/dist/providers/OpenAI/OpenAIService.factory.js.map +0 -1
  206. package/dist/providers/OpenAI/index.d.ts +0 -5
  207. package/dist/providers/OpenAI/index.js +0 -22
  208. package/dist/providers/OpenAI/index.js.map +0 -1
  209. package/dist/providers/OpenAI/schemas/OpenAISchemaAdapter.d.ts +0 -14
  210. package/dist/providers/OpenAI/schemas/OpenAISchemaAdapter.js +0 -87
  211. package/dist/providers/OpenAI/schemas/OpenAISchemaAdapter.js.map +0 -1
  212. package/dist/providers/OpenAI/services/OpenAIAssistance.service.d.ts +0 -42
  213. package/dist/providers/OpenAI/services/OpenAIAssistance.service.js +0 -712
  214. package/dist/providers/OpenAI/services/OpenAIAssistance.service.js.map +0 -1
  215. package/dist/providers/OpenAI/services/OpenAICompletion.service.d.ts +0 -7
  216. package/dist/providers/OpenAI/services/OpenAICompletion.service.js +0 -12
  217. package/dist/providers/OpenAI/services/OpenAICompletion.service.js.map +0 -1
  218. package/dist/providers/OpenAI/services/OpenAISpeechToText.service.d.ts +0 -17
  219. package/dist/providers/OpenAI/services/OpenAISpeechToText.service.js +0 -40
  220. package/dist/providers/OpenAI/services/OpenAISpeechToText.service.js.map +0 -1
  221. package/dist/providers/OpenAI/services/OpenAITextToSpeech.service.d.ts +0 -13
  222. package/dist/providers/OpenAI/services/OpenAITextToSpeech.service.js +0 -32
  223. package/dist/providers/OpenAI/services/OpenAITextToSpeech.service.js.map +0 -1
  224. package/dist/providers/OpenAI/services/buildFunctionCallOutput.d.ts +0 -3
  225. package/dist/providers/OpenAI/services/buildFunctionCallOutput.js +0 -19
  226. package/dist/providers/OpenAI/services/buildFunctionCallOutput.js.map +0 -1
  227. package/dist/providers/OpenAI/services/index.d.ts +0 -4
  228. package/dist/providers/OpenAI/services/index.js +0 -21
  229. package/dist/providers/OpenAI/services/index.js.map +0 -1
  230. package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.d.ts +0 -30
  231. package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.js +0 -233
  232. package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.js.map +0 -1
  233. package/dist/providers/OpenAICompatible/OpenAICompatibleSpeechToText.service.d.ts +0 -22
  234. package/dist/providers/OpenAICompatible/OpenAICompatibleSpeechToText.service.js +0 -98
  235. package/dist/providers/OpenAICompatible/OpenAICompatibleSpeechToText.service.js.map +0 -1
  236. package/dist/providers/OpenAICompatible/OpenAICompatibleTextToSpeech.service.d.ts +0 -22
  237. package/dist/providers/OpenAICompatible/OpenAICompatibleTextToSpeech.service.js +0 -67
  238. package/dist/providers/OpenAICompatible/OpenAICompatibleTextToSpeech.service.js.map +0 -1
  239. package/dist/providers/index.d.ts +0 -3
  240. package/dist/providers/index.js +0 -20
  241. package/dist/providers/index.js.map +0 -1
  242. package/dist/services/LLMAssistanceService.abstract.d.ts +0 -39
  243. package/dist/services/LLMAssistanceService.abstract.js +0 -99
  244. package/dist/services/LLMAssistanceService.abstract.js.map +0 -1
  245. package/dist/services/LLMBaseService.abstract.d.ts +0 -161
  246. package/dist/services/LLMBaseService.abstract.js +0 -392
  247. package/dist/services/LLMBaseService.abstract.js.map +0 -1
  248. package/dist/services/LLMCompletionService.abstract.d.ts +0 -16
  249. package/dist/services/LLMCompletionService.abstract.js +0 -12
  250. package/dist/services/LLMCompletionService.abstract.js.map +0 -1
  251. package/dist/services/LLMServicePurposeFactory.abstract.d.ts +0 -12
  252. package/dist/services/LLMServicePurposeFactory.abstract.js +0 -7
  253. package/dist/services/LLMServicePurposeFactory.abstract.js.map +0 -1
  254. package/dist/services/LLMSpeechToTextService.abstract.d.ts +0 -8
  255. package/dist/services/LLMSpeechToTextService.abstract.js +0 -12
  256. package/dist/services/LLMSpeechToTextService.abstract.js.map +0 -1
  257. package/dist/services/LLMTextToSpeechService.abstract.d.ts +0 -8
  258. package/dist/services/LLMTextToSpeechService.abstract.js +0 -12
  259. package/dist/services/LLMTextToSpeechService.abstract.js.map +0 -1
  260. package/dist/services/agentRounds/LLMAgentRounds.d.ts +0 -32
  261. package/dist/services/agentRounds/LLMAgentRounds.js +0 -77
  262. package/dist/services/agentRounds/LLMAgentRounds.js.map +0 -1
  263. package/dist/services/agentRounds/agentRounds.typedefs.d.ts +0 -48
  264. package/dist/services/agentRounds/agentRounds.typedefs.js +0 -3
  265. package/dist/services/agentRounds/agentRounds.typedefs.js.map +0 -1
  266. package/dist/services/agentRounds/index.d.ts +0 -2
  267. package/dist/services/agentRounds/index.js +0 -19
  268. package/dist/services/agentRounds/index.js.map +0 -1
  269. package/dist/services/chatState/CompletionsChatState.d.ts +0 -35
  270. package/dist/services/chatState/CompletionsChatState.js +0 -118
  271. package/dist/services/chatState/CompletionsChatState.js.map +0 -1
  272. package/dist/services/chatState/index.d.ts +0 -1
  273. package/dist/services/chatState/index.js +0 -6
  274. package/dist/services/chatState/index.js.map +0 -1
  275. package/dist/services/fileStorage/FileStorageToolExecutor.d.ts +0 -15
  276. package/dist/services/fileStorage/FileStorageToolExecutor.js +0 -172
  277. package/dist/services/fileStorage/FileStorageToolExecutor.js.map +0 -1
  278. package/dist/services/fileStorage/InMemoryFileStorage.d.ts +0 -20
  279. package/dist/services/fileStorage/InMemoryFileStorage.js +0 -67
  280. package/dist/services/fileStorage/InMemoryFileStorage.js.map +0 -1
  281. package/dist/services/fileStorage/fileStorageTools.d.ts +0 -26
  282. package/dist/services/fileStorage/fileStorageTools.js +0 -68
  283. package/dist/services/fileStorage/fileStorageTools.js.map +0 -1
  284. package/dist/services/fileStorage/index.d.ts +0 -4
  285. package/dist/services/fileStorage/index.js +0 -11
  286. package/dist/services/fileStorage/index.js.map +0 -1
  287. package/dist/services/index.d.ts +0 -7
  288. package/dist/services/index.js +0 -24
  289. package/dist/services/index.js.map +0 -1
  290. package/dist/utilities/calculateCosts.d.ts +0 -4
  291. package/dist/utilities/calculateCosts.js +0 -56
  292. package/dist/utilities/calculateCosts.js.map +0 -1
  293. package/dist/utilities/functional.utils.d.ts +0 -1
  294. package/dist/utilities/functional.utils.js +0 -9
  295. package/dist/utilities/functional.utils.js.map +0 -1
  296. package/dist/utilities/index.d.ts +0 -9
  297. package/dist/utilities/index.js +0 -26
  298. package/dist/utilities/index.js.map +0 -1
  299. package/dist/utilities/llmTracing/index.d.ts +0 -3
  300. package/dist/utilities/llmTracing/index.js +0 -20
  301. package/dist/utilities/llmTracing/index.js.map +0 -1
  302. package/dist/utilities/llmTracing/llmTracing.constants.d.ts +0 -7
  303. package/dist/utilities/llmTracing/llmTracing.constants.js +0 -11
  304. package/dist/utilities/llmTracing/llmTracing.constants.js.map +0 -1
  305. package/dist/utilities/llmTracing/llmTracing.typedefs.d.ts +0 -126
  306. package/dist/utilities/llmTracing/llmTracing.typedefs.js +0 -3
  307. package/dist/utilities/llmTracing/llmTracing.typedefs.js.map +0 -1
  308. package/dist/utilities/llmTracing/noopLLMTracing.d.ts +0 -3
  309. package/dist/utilities/llmTracing/noopLLMTracing.js +0 -36
  310. package/dist/utilities/llmTracing/noopLLMTracing.js.map +0 -1
  311. package/dist/utilities/logger/LLMLoggerInterface.d.ts +0 -36
  312. package/dist/utilities/logger/LLMLoggerInterface.js +0 -3
  313. package/dist/utilities/logger/LLMLoggerInterface.js.map +0 -1
  314. package/dist/utilities/logger/index.d.ts +0 -1
  315. package/dist/utilities/logger/index.js +0 -18
  316. package/dist/utilities/logger/index.js.map +0 -1
  317. package/dist/utilities/promptBuilder.d.ts +0 -58
  318. package/dist/utilities/promptBuilder.js +0 -92
  319. package/dist/utilities/promptBuilder.js.map +0 -1
  320. package/dist/utilities/reporter/LLMReporterInterface.d.ts +0 -46
  321. package/dist/utilities/reporter/LLMReporterInterface.js +0 -3
  322. package/dist/utilities/reporter/LLMReporterInterface.js.map +0 -1
  323. package/dist/utilities/reporter/index.d.ts +0 -1
  324. package/dist/utilities/reporter/index.js +0 -18
  325. package/dist/utilities/reporter/index.js.map +0 -1
  326. package/dist/utilities/schema/LLMSchema.d.ts +0 -112
  327. package/dist/utilities/schema/LLMSchema.js +0 -223
  328. package/dist/utilities/schema/LLMSchema.js.map +0 -1
  329. package/dist/utilities/schema/LLMSchema.typedefs.d.ts +0 -55
  330. package/dist/utilities/schema/LLMSchema.typedefs.js +0 -3
  331. package/dist/utilities/schema/LLMSchema.typedefs.js.map +0 -1
  332. package/dist/utilities/schema/SchemaAdapterRegistry.d.ts +0 -26
  333. package/dist/utilities/schema/SchemaAdapterRegistry.js +0 -32
  334. package/dist/utilities/schema/SchemaAdapterRegistry.js.map +0 -1
  335. package/dist/utilities/schema/index.d.ts +0 -2
  336. package/dist/utilities/schema/index.js +0 -19
  337. package/dist/utilities/schema/index.js.map +0 -1
  338. package/dist/utilities/serializeError.d.ts +0 -9
  339. package/dist/utilities/serializeError.js +0 -69
  340. package/dist/utilities/serializeError.js.map +0 -1
  341. package/dist/utilities/tokenizer.d.ts +0 -4
  342. package/dist/utilities/tokenizer.js +0 -14
  343. package/dist/utilities/tokenizer.js.map +0 -1
  344. package/dist/utilities/tools/LLMTool.d.ts +0 -5
  345. package/dist/utilities/tools/LLMTool.js +0 -10
  346. package/dist/utilities/tools/LLMTool.js.map +0 -1
  347. package/dist/utilities/tools/index.d.ts +0 -2
  348. package/dist/utilities/tools/index.js +0 -8
  349. package/dist/utilities/tools/index.js.map +0 -1
  350. package/dist/utilities/tools/normalizeToolResult.d.ts +0 -15
  351. package/dist/utilities/tools/normalizeToolResult.js +0 -18
  352. package/dist/utilities/tools/normalizeToolResult.js.map +0 -1
@@ -1,873 +0,0 @@
1
- import { type LLMReporterInterface } from '../../utilities/reporter';
2
- import { GoogleGenerativeAIModelNames } from './GoogleGenerativeAI.typedefs';
3
- import { ThinkingLevel } from '@google/genai';
4
- import { GoogleGenerativeAIAssistanceService, GoogleGenerativeAICompletionService, GoogleGenerativeAISpeechToTextService, GoogleGenerativeAITextToSpeechService } from '../../providers/GoogleGenerativeAI/services';
5
- export declare const MIN_CACHE_CONTENT_LENGTH = 32768;
6
- export declare const GOOGLE_AI_MODELS: {
7
- readonly completion: Pick<{
8
- readonly "gemini-2.5-flash": {
9
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH;
10
- readonly limits: {
11
- readonly maxInputTokens: 1048576;
12
- readonly maxOutputTokens: 65536;
13
- };
14
- readonly config: {
15
- readonly temperature: 0.2;
16
- };
17
- readonly pricing: {
18
- readonly getPriceForTextInput: (tokens: number) => number;
19
- readonly getPriceForTextOutput: (tokens: number) => number;
20
- readonly getPriceForCachedTextInput: (tokens: number) => number;
21
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
22
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
23
- readonly getPriceForAudioOutput: () => number;
24
- readonly currency: "USD";
25
- };
26
- readonly capabilities: {
27
- readonly vision: true;
28
- readonly tools: true;
29
- readonly reasoning: true;
30
- readonly webSearch: true;
31
- readonly stt: true;
32
- };
33
- };
34
- readonly "gemini-2.5-flash-lite": {
35
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE;
36
- readonly limits: {
37
- readonly maxInputTokens: 1048576;
38
- readonly maxOutputTokens: 65536;
39
- };
40
- readonly config: {
41
- readonly temperature: 0.2;
42
- };
43
- readonly pricing: {
44
- readonly getPriceForTextInput: (tokens: number) => number;
45
- readonly getPriceForTextOutput: (tokens: number) => number;
46
- readonly getPriceForCachedTextInput: (tokens: number) => number;
47
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
48
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
49
- readonly getPriceForAudioOutput: () => number;
50
- readonly currency: "USD";
51
- };
52
- readonly capabilities: {
53
- readonly vision: true;
54
- readonly tools: true;
55
- readonly reasoning: false;
56
- readonly webSearch: false;
57
- readonly stt: true;
58
- };
59
- };
60
- readonly "gemini-2.5-pro": {
61
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO;
62
- readonly limits: {
63
- readonly maxInputTokens: 1048576;
64
- readonly maxOutputTokens: 65536;
65
- };
66
- readonly config: {
67
- readonly temperature: 0.2;
68
- };
69
- readonly pricing: {
70
- readonly getPriceForTextInput: (tokens: number) => number;
71
- readonly getPriceForTextOutput: (tokens: number) => number;
72
- readonly getPriceForCachedTextInput: (tokens: number) => number;
73
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
74
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
75
- readonly getPriceForAudioOutput: () => number;
76
- readonly currency: "USD";
77
- };
78
- readonly capabilities: {
79
- readonly vision: true;
80
- readonly tools: true;
81
- readonly reasoning: true;
82
- readonly webSearch: true;
83
- readonly stt: true;
84
- };
85
- };
86
- readonly "gemini-2.5-flash-preview-tts": {
87
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_PREVIEW_TTS;
88
- readonly limits: {
89
- readonly maxInputTokens: 8000;
90
- readonly maxOutputTokens: 16000;
91
- };
92
- readonly config: {
93
- readonly temperature: 0.2;
94
- };
95
- readonly pricing: {
96
- readonly getPriceForTextInput: (tokens: number) => number;
97
- readonly getPriceForTextOutput: () => number;
98
- readonly getPriceForAudioInput: () => number;
99
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
100
- readonly currency: "USD";
101
- };
102
- readonly capabilities: {
103
- readonly vision: false;
104
- readonly tools: false;
105
- readonly reasoning: false;
106
- readonly webSearch: false;
107
- readonly tts: true;
108
- };
109
- };
110
- readonly "gemini-2.5-pro-preview-tts": {
111
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO_PREVIEW_TTS;
112
- readonly limits: {
113
- readonly maxInputTokens: 8000;
114
- readonly maxOutputTokens: 16000;
115
- };
116
- readonly config: {
117
- readonly temperature: 0.2;
118
- };
119
- readonly pricing: {
120
- readonly getPriceForTextInput: (tokens: number) => number;
121
- readonly getPriceForTextOutput: () => number;
122
- readonly getPriceForAudioInput: () => number;
123
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
124
- readonly currency: "USD";
125
- };
126
- readonly capabilities: {
127
- readonly vision: false;
128
- readonly tools: false;
129
- readonly reasoning: false;
130
- readonly webSearch: false;
131
- readonly tts: true;
132
- };
133
- };
134
- readonly "gemini-3-flash-preview": {
135
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
136
- readonly limits: {
137
- readonly maxInputTokens: 1048576;
138
- readonly maxOutputTokens: 65536;
139
- };
140
- readonly config: {
141
- readonly temperature: 1;
142
- readonly thinkingConfig: {
143
- readonly thinkingLevel: ThinkingLevel.LOW;
144
- };
145
- };
146
- readonly pricing: {
147
- readonly getPriceForTextInput: (tokens: number) => number;
148
- readonly getPriceForTextOutput: (tokens: number) => number;
149
- readonly getPriceForCachedTextInput: (tokens: number) => number;
150
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
151
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
152
- readonly getPriceForAudioOutput: () => number;
153
- readonly currency: "USD";
154
- };
155
- readonly capabilities: {
156
- readonly vision: true;
157
- readonly tools: true;
158
- readonly reasoning: true;
159
- readonly webSearch: true;
160
- readonly stt: true;
161
- readonly multimodalToolResults: true;
162
- };
163
- };
164
- readonly "gemini-3.1-flash-lite-preview": {
165
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
166
- readonly limits: {
167
- readonly maxInputTokens: 1048576;
168
- readonly maxOutputTokens: 65536;
169
- };
170
- readonly config: {
171
- readonly temperature: 0.2;
172
- };
173
- readonly pricing: {
174
- readonly getPriceForTextInput: (tokens: number) => number;
175
- readonly getPriceForTextOutput: (tokens: number) => number;
176
- readonly getPriceForCachedTextInput: (tokens: number) => number;
177
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
178
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
179
- readonly getPriceForAudioOutput: () => number;
180
- readonly currency: "USD";
181
- };
182
- readonly capabilities: {
183
- readonly vision: true;
184
- readonly tools: true;
185
- readonly reasoning: false;
186
- readonly webSearch: false;
187
- readonly stt: true;
188
- readonly multimodalToolResults: true;
189
- };
190
- };
191
- readonly "gemini-3.1-pro-preview": {
192
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
193
- readonly limits: {
194
- readonly maxInputTokens: 1048576;
195
- readonly maxOutputTokens: 65536;
196
- };
197
- readonly config: {
198
- readonly temperature: 1;
199
- readonly thinkingConfig: {
200
- readonly thinkingLevel: ThinkingLevel.LOW;
201
- };
202
- };
203
- readonly pricing: {
204
- readonly getPriceForTextInput: (tokens: number) => number;
205
- readonly getPriceForTextOutput: (tokens: number) => number;
206
- readonly getPriceForCachedTextInput: (tokens: number) => number;
207
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
208
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
209
- readonly getPriceForAudioOutput: () => number;
210
- readonly currency: "USD";
211
- };
212
- readonly capabilities: {
213
- readonly vision: true;
214
- readonly tools: true;
215
- readonly reasoning: true;
216
- readonly webSearch: true;
217
- readonly stt: true;
218
- readonly multimodalToolResults: true;
219
- };
220
- };
221
- }, GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH | GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE | GoogleGenerativeAIModelNames.GEMINI_2_5_PRO | GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW | GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW | GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW>;
222
- readonly assistance: Pick<{
223
- readonly "gemini-2.5-flash": {
224
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH;
225
- readonly limits: {
226
- readonly maxInputTokens: 1048576;
227
- readonly maxOutputTokens: 65536;
228
- };
229
- readonly config: {
230
- readonly temperature: 0.2;
231
- };
232
- readonly pricing: {
233
- readonly getPriceForTextInput: (tokens: number) => number;
234
- readonly getPriceForTextOutput: (tokens: number) => number;
235
- readonly getPriceForCachedTextInput: (tokens: number) => number;
236
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
237
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
238
- readonly getPriceForAudioOutput: () => number;
239
- readonly currency: "USD";
240
- };
241
- readonly capabilities: {
242
- readonly vision: true;
243
- readonly tools: true;
244
- readonly reasoning: true;
245
- readonly webSearch: true;
246
- readonly stt: true;
247
- };
248
- };
249
- readonly "gemini-2.5-flash-lite": {
250
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE;
251
- readonly limits: {
252
- readonly maxInputTokens: 1048576;
253
- readonly maxOutputTokens: 65536;
254
- };
255
- readonly config: {
256
- readonly temperature: 0.2;
257
- };
258
- readonly pricing: {
259
- readonly getPriceForTextInput: (tokens: number) => number;
260
- readonly getPriceForTextOutput: (tokens: number) => number;
261
- readonly getPriceForCachedTextInput: (tokens: number) => number;
262
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
263
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
264
- readonly getPriceForAudioOutput: () => number;
265
- readonly currency: "USD";
266
- };
267
- readonly capabilities: {
268
- readonly vision: true;
269
- readonly tools: true;
270
- readonly reasoning: false;
271
- readonly webSearch: false;
272
- readonly stt: true;
273
- };
274
- };
275
- readonly "gemini-2.5-pro": {
276
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO;
277
- readonly limits: {
278
- readonly maxInputTokens: 1048576;
279
- readonly maxOutputTokens: 65536;
280
- };
281
- readonly config: {
282
- readonly temperature: 0.2;
283
- };
284
- readonly pricing: {
285
- readonly getPriceForTextInput: (tokens: number) => number;
286
- readonly getPriceForTextOutput: (tokens: number) => number;
287
- readonly getPriceForCachedTextInput: (tokens: number) => number;
288
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
289
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
290
- readonly getPriceForAudioOutput: () => number;
291
- readonly currency: "USD";
292
- };
293
- readonly capabilities: {
294
- readonly vision: true;
295
- readonly tools: true;
296
- readonly reasoning: true;
297
- readonly webSearch: true;
298
- readonly stt: true;
299
- };
300
- };
301
- readonly "gemini-2.5-flash-preview-tts": {
302
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_PREVIEW_TTS;
303
- readonly limits: {
304
- readonly maxInputTokens: 8000;
305
- readonly maxOutputTokens: 16000;
306
- };
307
- readonly config: {
308
- readonly temperature: 0.2;
309
- };
310
- readonly pricing: {
311
- readonly getPriceForTextInput: (tokens: number) => number;
312
- readonly getPriceForTextOutput: () => number;
313
- readonly getPriceForAudioInput: () => number;
314
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
315
- readonly currency: "USD";
316
- };
317
- readonly capabilities: {
318
- readonly vision: false;
319
- readonly tools: false;
320
- readonly reasoning: false;
321
- readonly webSearch: false;
322
- readonly tts: true;
323
- };
324
- };
325
- readonly "gemini-2.5-pro-preview-tts": {
326
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO_PREVIEW_TTS;
327
- readonly limits: {
328
- readonly maxInputTokens: 8000;
329
- readonly maxOutputTokens: 16000;
330
- };
331
- readonly config: {
332
- readonly temperature: 0.2;
333
- };
334
- readonly pricing: {
335
- readonly getPriceForTextInput: (tokens: number) => number;
336
- readonly getPriceForTextOutput: () => number;
337
- readonly getPriceForAudioInput: () => number;
338
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
339
- readonly currency: "USD";
340
- };
341
- readonly capabilities: {
342
- readonly vision: false;
343
- readonly tools: false;
344
- readonly reasoning: false;
345
- readonly webSearch: false;
346
- readonly tts: true;
347
- };
348
- };
349
- readonly "gemini-3-flash-preview": {
350
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
351
- readonly limits: {
352
- readonly maxInputTokens: 1048576;
353
- readonly maxOutputTokens: 65536;
354
- };
355
- readonly config: {
356
- readonly temperature: 1;
357
- readonly thinkingConfig: {
358
- readonly thinkingLevel: ThinkingLevel.LOW;
359
- };
360
- };
361
- readonly pricing: {
362
- readonly getPriceForTextInput: (tokens: number) => number;
363
- readonly getPriceForTextOutput: (tokens: number) => number;
364
- readonly getPriceForCachedTextInput: (tokens: number) => number;
365
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
366
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
367
- readonly getPriceForAudioOutput: () => number;
368
- readonly currency: "USD";
369
- };
370
- readonly capabilities: {
371
- readonly vision: true;
372
- readonly tools: true;
373
- readonly reasoning: true;
374
- readonly webSearch: true;
375
- readonly stt: true;
376
- readonly multimodalToolResults: true;
377
- };
378
- };
379
- readonly "gemini-3.1-flash-lite-preview": {
380
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
381
- readonly limits: {
382
- readonly maxInputTokens: 1048576;
383
- readonly maxOutputTokens: 65536;
384
- };
385
- readonly config: {
386
- readonly temperature: 0.2;
387
- };
388
- readonly pricing: {
389
- readonly getPriceForTextInput: (tokens: number) => number;
390
- readonly getPriceForTextOutput: (tokens: number) => number;
391
- readonly getPriceForCachedTextInput: (tokens: number) => number;
392
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
393
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
394
- readonly getPriceForAudioOutput: () => number;
395
- readonly currency: "USD";
396
- };
397
- readonly capabilities: {
398
- readonly vision: true;
399
- readonly tools: true;
400
- readonly reasoning: false;
401
- readonly webSearch: false;
402
- readonly stt: true;
403
- readonly multimodalToolResults: true;
404
- };
405
- };
406
- readonly "gemini-3.1-pro-preview": {
407
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
408
- readonly limits: {
409
- readonly maxInputTokens: 1048576;
410
- readonly maxOutputTokens: 65536;
411
- };
412
- readonly config: {
413
- readonly temperature: 1;
414
- readonly thinkingConfig: {
415
- readonly thinkingLevel: ThinkingLevel.LOW;
416
- };
417
- };
418
- readonly pricing: {
419
- readonly getPriceForTextInput: (tokens: number) => number;
420
- readonly getPriceForTextOutput: (tokens: number) => number;
421
- readonly getPriceForCachedTextInput: (tokens: number) => number;
422
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
423
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
424
- readonly getPriceForAudioOutput: () => number;
425
- readonly currency: "USD";
426
- };
427
- readonly capabilities: {
428
- readonly vision: true;
429
- readonly tools: true;
430
- readonly reasoning: true;
431
- readonly webSearch: true;
432
- readonly stt: true;
433
- readonly multimodalToolResults: true;
434
- };
435
- };
436
- }, GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH | GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE | GoogleGenerativeAIModelNames.GEMINI_2_5_PRO | GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW | GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW | GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW>;
437
- readonly speech_to_text: Pick<{
438
- readonly "gemini-2.5-flash": {
439
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH;
440
- readonly limits: {
441
- readonly maxInputTokens: 1048576;
442
- readonly maxOutputTokens: 65536;
443
- };
444
- readonly config: {
445
- readonly temperature: 0.2;
446
- };
447
- readonly pricing: {
448
- readonly getPriceForTextInput: (tokens: number) => number;
449
- readonly getPriceForTextOutput: (tokens: number) => number;
450
- readonly getPriceForCachedTextInput: (tokens: number) => number;
451
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
452
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
453
- readonly getPriceForAudioOutput: () => number;
454
- readonly currency: "USD";
455
- };
456
- readonly capabilities: {
457
- readonly vision: true;
458
- readonly tools: true;
459
- readonly reasoning: true;
460
- readonly webSearch: true;
461
- readonly stt: true;
462
- };
463
- };
464
- readonly "gemini-2.5-flash-lite": {
465
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE;
466
- readonly limits: {
467
- readonly maxInputTokens: 1048576;
468
- readonly maxOutputTokens: 65536;
469
- };
470
- readonly config: {
471
- readonly temperature: 0.2;
472
- };
473
- readonly pricing: {
474
- readonly getPriceForTextInput: (tokens: number) => number;
475
- readonly getPriceForTextOutput: (tokens: number) => number;
476
- readonly getPriceForCachedTextInput: (tokens: number) => number;
477
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
478
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
479
- readonly getPriceForAudioOutput: () => number;
480
- readonly currency: "USD";
481
- };
482
- readonly capabilities: {
483
- readonly vision: true;
484
- readonly tools: true;
485
- readonly reasoning: false;
486
- readonly webSearch: false;
487
- readonly stt: true;
488
- };
489
- };
490
- readonly "gemini-2.5-pro": {
491
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO;
492
- readonly limits: {
493
- readonly maxInputTokens: 1048576;
494
- readonly maxOutputTokens: 65536;
495
- };
496
- readonly config: {
497
- readonly temperature: 0.2;
498
- };
499
- readonly pricing: {
500
- readonly getPriceForTextInput: (tokens: number) => number;
501
- readonly getPriceForTextOutput: (tokens: number) => number;
502
- readonly getPriceForCachedTextInput: (tokens: number) => number;
503
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
504
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
505
- readonly getPriceForAudioOutput: () => number;
506
- readonly currency: "USD";
507
- };
508
- readonly capabilities: {
509
- readonly vision: true;
510
- readonly tools: true;
511
- readonly reasoning: true;
512
- readonly webSearch: true;
513
- readonly stt: true;
514
- };
515
- };
516
- readonly "gemini-2.5-flash-preview-tts": {
517
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_PREVIEW_TTS;
518
- readonly limits: {
519
- readonly maxInputTokens: 8000;
520
- readonly maxOutputTokens: 16000;
521
- };
522
- readonly config: {
523
- readonly temperature: 0.2;
524
- };
525
- readonly pricing: {
526
- readonly getPriceForTextInput: (tokens: number) => number;
527
- readonly getPriceForTextOutput: () => number;
528
- readonly getPriceForAudioInput: () => number;
529
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
530
- readonly currency: "USD";
531
- };
532
- readonly capabilities: {
533
- readonly vision: false;
534
- readonly tools: false;
535
- readonly reasoning: false;
536
- readonly webSearch: false;
537
- readonly tts: true;
538
- };
539
- };
540
- readonly "gemini-2.5-pro-preview-tts": {
541
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO_PREVIEW_TTS;
542
- readonly limits: {
543
- readonly maxInputTokens: 8000;
544
- readonly maxOutputTokens: 16000;
545
- };
546
- readonly config: {
547
- readonly temperature: 0.2;
548
- };
549
- readonly pricing: {
550
- readonly getPriceForTextInput: (tokens: number) => number;
551
- readonly getPriceForTextOutput: () => number;
552
- readonly getPriceForAudioInput: () => number;
553
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
554
- readonly currency: "USD";
555
- };
556
- readonly capabilities: {
557
- readonly vision: false;
558
- readonly tools: false;
559
- readonly reasoning: false;
560
- readonly webSearch: false;
561
- readonly tts: true;
562
- };
563
- };
564
- readonly "gemini-3-flash-preview": {
565
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
566
- readonly limits: {
567
- readonly maxInputTokens: 1048576;
568
- readonly maxOutputTokens: 65536;
569
- };
570
- readonly config: {
571
- readonly temperature: 1;
572
- readonly thinkingConfig: {
573
- readonly thinkingLevel: ThinkingLevel.LOW;
574
- };
575
- };
576
- readonly pricing: {
577
- readonly getPriceForTextInput: (tokens: number) => number;
578
- readonly getPriceForTextOutput: (tokens: number) => number;
579
- readonly getPriceForCachedTextInput: (tokens: number) => number;
580
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
581
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
582
- readonly getPriceForAudioOutput: () => number;
583
- readonly currency: "USD";
584
- };
585
- readonly capabilities: {
586
- readonly vision: true;
587
- readonly tools: true;
588
- readonly reasoning: true;
589
- readonly webSearch: true;
590
- readonly stt: true;
591
- readonly multimodalToolResults: true;
592
- };
593
- };
594
- readonly "gemini-3.1-flash-lite-preview": {
595
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
596
- readonly limits: {
597
- readonly maxInputTokens: 1048576;
598
- readonly maxOutputTokens: 65536;
599
- };
600
- readonly config: {
601
- readonly temperature: 0.2;
602
- };
603
- readonly pricing: {
604
- readonly getPriceForTextInput: (tokens: number) => number;
605
- readonly getPriceForTextOutput: (tokens: number) => number;
606
- readonly getPriceForCachedTextInput: (tokens: number) => number;
607
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
608
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
609
- readonly getPriceForAudioOutput: () => number;
610
- readonly currency: "USD";
611
- };
612
- readonly capabilities: {
613
- readonly vision: true;
614
- readonly tools: true;
615
- readonly reasoning: false;
616
- readonly webSearch: false;
617
- readonly stt: true;
618
- readonly multimodalToolResults: true;
619
- };
620
- };
621
- readonly "gemini-3.1-pro-preview": {
622
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
623
- readonly limits: {
624
- readonly maxInputTokens: 1048576;
625
- readonly maxOutputTokens: 65536;
626
- };
627
- readonly config: {
628
- readonly temperature: 1;
629
- readonly thinkingConfig: {
630
- readonly thinkingLevel: ThinkingLevel.LOW;
631
- };
632
- };
633
- readonly pricing: {
634
- readonly getPriceForTextInput: (tokens: number) => number;
635
- readonly getPriceForTextOutput: (tokens: number) => number;
636
- readonly getPriceForCachedTextInput: (tokens: number) => number;
637
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
638
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
639
- readonly getPriceForAudioOutput: () => number;
640
- readonly currency: "USD";
641
- };
642
- readonly capabilities: {
643
- readonly vision: true;
644
- readonly tools: true;
645
- readonly reasoning: true;
646
- readonly webSearch: true;
647
- readonly stt: true;
648
- readonly multimodalToolResults: true;
649
- };
650
- };
651
- }, GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH | GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE | GoogleGenerativeAIModelNames.GEMINI_2_5_PRO | GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW | GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW | GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW>;
652
- readonly text_to_speech: Pick<{
653
- readonly "gemini-2.5-flash": {
654
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH;
655
- readonly limits: {
656
- readonly maxInputTokens: 1048576;
657
- readonly maxOutputTokens: 65536;
658
- };
659
- readonly config: {
660
- readonly temperature: 0.2;
661
- };
662
- readonly pricing: {
663
- readonly getPriceForTextInput: (tokens: number) => number;
664
- readonly getPriceForTextOutput: (tokens: number) => number;
665
- readonly getPriceForCachedTextInput: (tokens: number) => number;
666
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
667
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
668
- readonly getPriceForAudioOutput: () => number;
669
- readonly currency: "USD";
670
- };
671
- readonly capabilities: {
672
- readonly vision: true;
673
- readonly tools: true;
674
- readonly reasoning: true;
675
- readonly webSearch: true;
676
- readonly stt: true;
677
- };
678
- };
679
- readonly "gemini-2.5-flash-lite": {
680
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE;
681
- readonly limits: {
682
- readonly maxInputTokens: 1048576;
683
- readonly maxOutputTokens: 65536;
684
- };
685
- readonly config: {
686
- readonly temperature: 0.2;
687
- };
688
- readonly pricing: {
689
- readonly getPriceForTextInput: (tokens: number) => number;
690
- readonly getPriceForTextOutput: (tokens: number) => number;
691
- readonly getPriceForCachedTextInput: (tokens: number) => number;
692
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
693
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
694
- readonly getPriceForAudioOutput: () => number;
695
- readonly currency: "USD";
696
- };
697
- readonly capabilities: {
698
- readonly vision: true;
699
- readonly tools: true;
700
- readonly reasoning: false;
701
- readonly webSearch: false;
702
- readonly stt: true;
703
- };
704
- };
705
- readonly "gemini-2.5-pro": {
706
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO;
707
- readonly limits: {
708
- readonly maxInputTokens: 1048576;
709
- readonly maxOutputTokens: 65536;
710
- };
711
- readonly config: {
712
- readonly temperature: 0.2;
713
- };
714
- readonly pricing: {
715
- readonly getPriceForTextInput: (tokens: number) => number;
716
- readonly getPriceForTextOutput: (tokens: number) => number;
717
- readonly getPriceForCachedTextInput: (tokens: number) => number;
718
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
719
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
720
- readonly getPriceForAudioOutput: () => number;
721
- readonly currency: "USD";
722
- };
723
- readonly capabilities: {
724
- readonly vision: true;
725
- readonly tools: true;
726
- readonly reasoning: true;
727
- readonly webSearch: true;
728
- readonly stt: true;
729
- };
730
- };
731
- readonly "gemini-2.5-flash-preview-tts": {
732
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_PREVIEW_TTS;
733
- readonly limits: {
734
- readonly maxInputTokens: 8000;
735
- readonly maxOutputTokens: 16000;
736
- };
737
- readonly config: {
738
- readonly temperature: 0.2;
739
- };
740
- readonly pricing: {
741
- readonly getPriceForTextInput: (tokens: number) => number;
742
- readonly getPriceForTextOutput: () => number;
743
- readonly getPriceForAudioInput: () => number;
744
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
745
- readonly currency: "USD";
746
- };
747
- readonly capabilities: {
748
- readonly vision: false;
749
- readonly tools: false;
750
- readonly reasoning: false;
751
- readonly webSearch: false;
752
- readonly tts: true;
753
- };
754
- };
755
- readonly "gemini-2.5-pro-preview-tts": {
756
- readonly name: GoogleGenerativeAIModelNames.GEMINI_2_5_PRO_PREVIEW_TTS;
757
- readonly limits: {
758
- readonly maxInputTokens: 8000;
759
- readonly maxOutputTokens: 16000;
760
- };
761
- readonly config: {
762
- readonly temperature: 0.2;
763
- };
764
- readonly pricing: {
765
- readonly getPriceForTextInput: (tokens: number) => number;
766
- readonly getPriceForTextOutput: () => number;
767
- readonly getPriceForAudioInput: () => number;
768
- readonly getPriceForAudioOutput: (audio_tokens: number) => number;
769
- readonly currency: "USD";
770
- };
771
- readonly capabilities: {
772
- readonly vision: false;
773
- readonly tools: false;
774
- readonly reasoning: false;
775
- readonly webSearch: false;
776
- readonly tts: true;
777
- };
778
- };
779
- readonly "gemini-3-flash-preview": {
780
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
781
- readonly limits: {
782
- readonly maxInputTokens: 1048576;
783
- readonly maxOutputTokens: 65536;
784
- };
785
- readonly config: {
786
- readonly temperature: 1;
787
- readonly thinkingConfig: {
788
- readonly thinkingLevel: ThinkingLevel.LOW;
789
- };
790
- };
791
- readonly pricing: {
792
- readonly getPriceForTextInput: (tokens: number) => number;
793
- readonly getPriceForTextOutput: (tokens: number) => number;
794
- readonly getPriceForCachedTextInput: (tokens: number) => number;
795
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
796
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
797
- readonly getPriceForAudioOutput: () => number;
798
- readonly currency: "USD";
799
- };
800
- readonly capabilities: {
801
- readonly vision: true;
802
- readonly tools: true;
803
- readonly reasoning: true;
804
- readonly webSearch: true;
805
- readonly stt: true;
806
- readonly multimodalToolResults: true;
807
- };
808
- };
809
- readonly "gemini-3.1-flash-lite-preview": {
810
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
811
- readonly limits: {
812
- readonly maxInputTokens: 1048576;
813
- readonly maxOutputTokens: 65536;
814
- };
815
- readonly config: {
816
- readonly temperature: 0.2;
817
- };
818
- readonly pricing: {
819
- readonly getPriceForTextInput: (tokens: number) => number;
820
- readonly getPriceForTextOutput: (tokens: number) => number;
821
- readonly getPriceForCachedTextInput: (tokens: number) => number;
822
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
823
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
824
- readonly getPriceForAudioOutput: () => number;
825
- readonly currency: "USD";
826
- };
827
- readonly capabilities: {
828
- readonly vision: true;
829
- readonly tools: true;
830
- readonly reasoning: false;
831
- readonly webSearch: false;
832
- readonly stt: true;
833
- readonly multimodalToolResults: true;
834
- };
835
- };
836
- readonly "gemini-3.1-pro-preview": {
837
- readonly name: GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
838
- readonly limits: {
839
- readonly maxInputTokens: 1048576;
840
- readonly maxOutputTokens: 65536;
841
- };
842
- readonly config: {
843
- readonly temperature: 1;
844
- readonly thinkingConfig: {
845
- readonly thinkingLevel: ThinkingLevel.LOW;
846
- };
847
- };
848
- readonly pricing: {
849
- readonly getPriceForTextInput: (tokens: number) => number;
850
- readonly getPriceForTextOutput: (tokens: number) => number;
851
- readonly getPriceForCachedTextInput: (tokens: number) => number;
852
- readonly getPriceForAudioInput: (audio_tokens: number) => number;
853
- readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
854
- readonly getPriceForAudioOutput: () => number;
855
- readonly currency: "USD";
856
- };
857
- readonly capabilities: {
858
- readonly vision: true;
859
- readonly tools: true;
860
- readonly reasoning: true;
861
- readonly webSearch: true;
862
- readonly stt: true;
863
- readonly multimodalToolResults: true;
864
- };
865
- };
866
- }, GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_PREVIEW_TTS | GoogleGenerativeAIModelNames.GEMINI_2_5_PRO_PREVIEW_TTS>;
867
- };
868
- export declare const GOOGLE_AI_SERVICE_BUILDERS: {
869
- readonly completion: (logger: import("../..").LLMLoggerInterface | undefined, reporter: LLMReporterInterface<any> | undefined, options: import("@google/genai").GoogleGenAIOptions | undefined) => GoogleGenerativeAICompletionService<LLMReporterInterface<any> | undefined>;
870
- readonly assistance: (logger: import("../..").LLMLoggerInterface | undefined, reporter: LLMReporterInterface<any> | undefined, options: import("@google/genai").GoogleGenAIOptions | undefined) => GoogleGenerativeAIAssistanceService<LLMReporterInterface<any> | undefined>;
871
- readonly speech_to_text: (logger: import("../..").LLMLoggerInterface | undefined, reporter: LLMReporterInterface<any> | undefined, options: import("@google/genai").GoogleGenAIOptions | undefined) => GoogleGenerativeAISpeechToTextService<LLMReporterInterface<any> | undefined>;
872
- readonly text_to_speech: (logger: import("../..").LLMLoggerInterface | undefined, reporter: LLMReporterInterface<any> | undefined, options: import("@google/genai").GoogleGenAIOptions | undefined) => GoogleGenerativeAITextToSpeechService<LLMReporterInterface<any> | undefined>;
873
- };