@homeflare/distilled-litellm 0.2.0 → 0.3.0

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 (390) hide show
  1. package/README.md +41 -12
  2. package/dist/services/a2a.js +1 -1
  3. package/dist/services/a2a_registration.js +1 -1
  4. package/dist/services/access_groups.d.ts +18 -0
  5. package/dist/services/access_groups.d.ts.map +1 -1
  6. package/dist/services/access_groups.js +15 -1
  7. package/dist/services/access_groups.js.map +1 -1
  8. package/dist/services/adaptive_router.js +1 -1
  9. package/dist/services/agents.d.ts +10 -0
  10. package/dist/services/agents.d.ts.map +1 -1
  11. package/dist/services/agents.js +10 -1
  12. package/dist/services/agents.js.map +1 -1
  13. package/dist/services/alerting.js +1 -1
  14. package/dist/services/anthropic_passthrough.js +1 -1
  15. package/dist/services/anthropic_skills.d.ts +7 -1
  16. package/dist/services/anthropic_skills.d.ts.map +1 -1
  17. package/dist/services/anthropic_skills.js +6 -2
  18. package/dist/services/anthropic_skills.js.map +1 -1
  19. package/dist/services/assistants.js +1 -1
  20. package/dist/services/audio.js +1 -1
  21. package/dist/services/audit_logging.d.ts +2 -0
  22. package/dist/services/audit_logging.d.ts.map +1 -1
  23. package/dist/services/audit_logging.js +2 -1
  24. package/dist/services/audit_logging.js.map +1 -1
  25. package/dist/services/auto_router.d.ts +162 -62
  26. package/dist/services/auto_router.d.ts.map +1 -1
  27. package/dist/services/auto_router.js +92 -31
  28. package/dist/services/auto_router.js.map +1 -1
  29. package/dist/services/batch.js +1 -1
  30. package/dist/services/beta_agents.js +1 -1
  31. package/dist/services/beta_mcp.js +1 -1
  32. package/dist/services/budget_management.d.ts +8 -3
  33. package/dist/services/budget_management.d.ts.map +1 -1
  34. package/dist/services/budget_management.js +7 -4
  35. package/dist/services/budget_management.js.map +1 -1
  36. package/dist/services/budget_spend_tracking.d.ts +24 -5
  37. package/dist/services/budget_spend_tracking.d.ts.map +1 -1
  38. package/dist/services/budget_spend_tracking.js +17 -4
  39. package/dist/services/budget_spend_tracking.js.map +1 -1
  40. package/dist/services/cache_settings.js +1 -1
  41. package/dist/services/caching.js +1 -1
  42. package/dist/services/chat_completions.js +1 -1
  43. package/dist/services/claude_code_marketplace.d.ts +11 -10
  44. package/dist/services/claude_code_marketplace.d.ts.map +1 -1
  45. package/dist/services/claude_code_marketplace.js +8 -6
  46. package/dist/services/claude_code_marketplace.js.map +1 -1
  47. package/dist/services/cloudzero.js +1 -1
  48. package/dist/services/completions.js +1 -1
  49. package/dist/services/compliance.js +1 -1
  50. package/dist/services/config_overrides.d.ts +5 -1
  51. package/dist/services/config_overrides.d.ts.map +1 -1
  52. package/dist/services/config_overrides.js +3 -1
  53. package/dist/services/config_overrides.js.map +1 -1
  54. package/dist/services/config_yaml.d.ts +120 -6
  55. package/dist/services/config_yaml.d.ts.map +1 -1
  56. package/dist/services/config_yaml.js +67 -1
  57. package/dist/services/config_yaml.js.map +1 -1
  58. package/dist/services/containers.d.ts +8 -2
  59. package/dist/services/containers.d.ts.map +1 -1
  60. package/dist/services/containers.js +13 -5
  61. package/dist/services/containers.js.map +1 -1
  62. package/dist/services/coordination_redis_settings.js +1 -1
  63. package/dist/services/cost_tracking.d.ts +91 -1
  64. package/dist/services/cost_tracking.d.ts.map +1 -1
  65. package/dist/services/cost_tracking.js +82 -2
  66. package/dist/services/cost_tracking.js.map +1 -1
  67. package/dist/services/credential_management.d.ts +2 -1
  68. package/dist/services/credential_management.d.ts.map +1 -1
  69. package/dist/services/credential_management.js +3 -2
  70. package/dist/services/credential_management.js.map +1 -1
  71. package/dist/services/customer_management.d.ts +25 -2
  72. package/dist/services/customer_management.d.ts.map +1 -1
  73. package/dist/services/customer_management.js +22 -3
  74. package/dist/services/customer_management.js.map +1 -1
  75. package/dist/services/email_management.js +1 -1
  76. package/dist/services/embeddings.js +1 -1
  77. package/dist/services/evals.js +1 -1
  78. package/dist/services/experimental.js +1 -1
  79. package/dist/services/fallback_management.js +1 -1
  80. package/dist/services/files.js +1 -1
  81. package/dist/services/fine_tuning.js +1 -1
  82. package/dist/services/gemini_agents.js +1 -1
  83. package/dist/services/google_genai_endpoints.js +1 -1
  84. package/dist/services/guardrails.d.ts +80 -7
  85. package/dist/services/guardrails.d.ts.map +1 -1
  86. package/dist/services/guardrails.js +37 -1
  87. package/dist/services/guardrails.js.map +1 -1
  88. package/dist/services/health.d.ts +2 -2
  89. package/dist/services/health.d.ts.map +1 -1
  90. package/dist/services/health.js +2 -2
  91. package/dist/services/health.js.map +1 -1
  92. package/dist/services/images.js +1 -1
  93. package/dist/services/index.d.ts +1 -15
  94. package/dist/services/index.d.ts.map +1 -1
  95. package/dist/services/index.js +1 -15
  96. package/dist/services/index.js.map +1 -1
  97. package/dist/services/internal_user_management.d.ts +227 -39
  98. package/dist/services/internal_user_management.d.ts.map +1 -1
  99. package/dist/services/internal_user_management.js +194 -37
  100. package/dist/services/internal_user_management.js.map +1 -1
  101. package/dist/services/invite_links.js +1 -1
  102. package/dist/services/jwt_mappings.d.ts +3 -0
  103. package/dist/services/jwt_mappings.d.ts.map +1 -1
  104. package/dist/services/jwt_mappings.js +4 -1
  105. package/dist/services/jwt_mappings.js.map +1 -1
  106. package/dist/services/key_management.d.ts +93 -49
  107. package/dist/services/key_management.d.ts.map +1 -1
  108. package/dist/services/key_management.js +75 -39
  109. package/dist/services/key_management.js.map +1 -1
  110. package/dist/services/langfuse_passthrough.js +1 -1
  111. package/dist/services/llm_passthrough.d.ts +1199 -0
  112. package/dist/services/llm_passthrough.d.ts.map +1 -0
  113. package/dist/services/llm_passthrough.js +2150 -0
  114. package/dist/services/llm_passthrough.js.map +1 -0
  115. package/dist/services/llm_utils.js +1 -1
  116. package/dist/services/logging_callbacks.js +1 -1
  117. package/dist/services/mcp_byok_oauth.d.ts +18 -11
  118. package/dist/services/mcp_byok_oauth.d.ts.map +1 -1
  119. package/dist/services/mcp_byok_oauth.js +27 -24
  120. package/dist/services/mcp_byok_oauth.js.map +1 -1
  121. package/dist/services/mcp_discoverable.d.ts +34 -0
  122. package/dist/services/mcp_discoverable.d.ts.map +1 -1
  123. package/dist/services/mcp_discoverable.js +51 -1
  124. package/dist/services/mcp_discoverable.js.map +1 -1
  125. package/dist/services/mcp_management.d.ts +90 -2
  126. package/dist/services/mcp_management.d.ts.map +1 -1
  127. package/dist/services/mcp_management.js +115 -3
  128. package/dist/services/mcp_management.js.map +1 -1
  129. package/dist/services/mcp_rest.d.ts +13 -0
  130. package/dist/services/mcp_rest.d.ts.map +1 -1
  131. package/dist/services/mcp_rest.js +10 -2
  132. package/dist/services/mcp_rest.js.map +1 -1
  133. package/dist/services/memory_management.d.ts +2 -0
  134. package/dist/services/memory_management.d.ts.map +1 -1
  135. package/dist/services/memory_management.js +2 -1
  136. package/dist/services/memory_management.js.map +1 -1
  137. package/dist/services/misc.d.ts +86 -1
  138. package/dist/services/misc.d.ts.map +1 -1
  139. package/dist/services/misc.js +126 -2
  140. package/dist/services/misc.js.map +1 -1
  141. package/dist/services/model_management.d.ts +310 -19
  142. package/dist/services/model_management.d.ts.map +1 -1
  143. package/dist/services/model_management.js +240 -7
  144. package/dist/services/model_management.js.map +1 -1
  145. package/dist/services/moderations.js +1 -1
  146. package/dist/services/ocr.js +1 -1
  147. package/dist/services/open_ai_pass_through.d.ts +35 -90
  148. package/dist/services/open_ai_pass_through.d.ts.map +1 -1
  149. package/dist/services/open_ai_pass_through.js +41 -139
  150. package/dist/services/open_ai_pass_through.js.map +1 -1
  151. package/dist/services/organization_management.d.ts +21 -1
  152. package/dist/services/organization_management.d.ts.map +1 -1
  153. package/dist/services/organization_management.js +20 -2
  154. package/dist/services/organization_management.js.map +1 -1
  155. package/dist/services/plugins.js +1 -1
  156. package/dist/services/policies.d.ts +2 -0
  157. package/dist/services/policies.d.ts.map +1 -1
  158. package/dist/services/policies.js +3 -1
  159. package/dist/services/policies.js.map +1 -1
  160. package/dist/services/policy_engine.d.ts +6 -0
  161. package/dist/services/policy_engine.d.ts.map +1 -1
  162. package/dist/services/policy_engine.js +4 -1
  163. package/dist/services/policy_engine.js.map +1 -1
  164. package/dist/services/project_management.d.ts +15 -0
  165. package/dist/services/project_management.d.ts.map +1 -1
  166. package/dist/services/project_management.js +14 -1
  167. package/dist/services/project_management.js.map +1 -1
  168. package/dist/services/prompts.js +1 -1
  169. package/dist/services/public.d.ts +124 -0
  170. package/dist/services/public.d.ts.map +1 -1
  171. package/dist/services/public.js +158 -1
  172. package/dist/services/public.js.map +1 -1
  173. package/dist/services/rag.js +1 -1
  174. package/dist/services/realtime.d.ts +4 -26
  175. package/dist/services/realtime.d.ts.map +1 -1
  176. package/dist/services/realtime.js +7 -57
  177. package/dist/services/realtime.js.map +1 -1
  178. package/dist/services/rerank.d.ts +72 -0
  179. package/dist/services/rerank.d.ts.map +1 -1
  180. package/dist/services/rerank.js +61 -4
  181. package/dist/services/rerank.js.map +1 -1
  182. package/dist/services/responses.d.ts +30 -0
  183. package/dist/services/responses.d.ts.map +1 -1
  184. package/dist/services/responses.js +59 -1
  185. package/dist/services/responses.js.map +1 -1
  186. package/dist/services/router_settings.js +1 -1
  187. package/dist/services/rust_control_plane.js +1 -1
  188. package/dist/services/scim.d.ts +41 -1
  189. package/dist/services/scim.d.ts.map +1 -1
  190. package/dist/services/scim.js +60 -2
  191. package/dist/services/scim.js.map +1 -1
  192. package/dist/services/search.js +1 -1
  193. package/dist/services/search_tools.js +1 -1
  194. package/dist/services/settings.d.ts +88 -0
  195. package/dist/services/settings.d.ts.map +1 -1
  196. package/dist/services/settings.js +113 -1
  197. package/dist/services/settings.js.map +1 -1
  198. package/dist/services/sso_settings.d.ts +1 -1
  199. package/dist/services/sso_settings.d.ts.map +1 -1
  200. package/dist/services/sso_settings.js +1 -1
  201. package/dist/services/sso_settings.js.map +1 -1
  202. package/dist/services/tag_management.d.ts +7 -0
  203. package/dist/services/tag_management.d.ts.map +1 -1
  204. package/dist/services/tag_management.js +8 -1
  205. package/dist/services/tag_management.js.map +1 -1
  206. package/dist/services/team_management.d.ts +265 -17
  207. package/dist/services/team_management.d.ts.map +1 -1
  208. package/dist/services/team_management.js +247 -12
  209. package/dist/services/team_management.js.map +1 -1
  210. package/dist/services/tools.js +1 -1
  211. package/dist/services/ui_settings.js +1 -1
  212. package/dist/services/ui_theme_settings.js +1 -1
  213. package/dist/services/usage_ai.js +1 -1
  214. package/dist/services/vantage.js +1 -1
  215. package/dist/services/vector_store_management.js +1 -1
  216. package/dist/services/vector_stores.js +1 -1
  217. package/dist/services/videos.js +1 -1
  218. package/dist/services/web_socket.d.ts +0 -18
  219. package/dist/services/web_socket.d.ts.map +1 -1
  220. package/dist/services/web_socket.js +1 -33
  221. package/dist/services/web_socket.js.map +1 -1
  222. package/dist/services/workflow_management.js +1 -1
  223. package/package.json +1 -1
  224. package/src/services/a2a.ts +1 -1
  225. package/src/services/a2a_registration.ts +1 -1
  226. package/src/services/access_groups.ts +44 -1
  227. package/src/services/adaptive_router.ts +1 -1
  228. package/src/services/agents.ts +22 -1
  229. package/src/services/alerting.ts +1 -1
  230. package/src/services/anthropic_passthrough.ts +1 -1
  231. package/src/services/anthropic_skills.ts +12 -2
  232. package/src/services/assistants.ts +1 -1
  233. package/src/services/audio.ts +1 -1
  234. package/src/services/audit_logging.ts +4 -1
  235. package/src/services/auto_router.ts +303 -93
  236. package/src/services/batch.ts +1 -1
  237. package/src/services/beta_agents.ts +1 -1
  238. package/src/services/beta_mcp.ts +1 -1
  239. package/src/services/budget_management.ts +12 -4
  240. package/src/services/budget_spend_tracking.ts +38 -6
  241. package/src/services/cache_settings.ts +1 -1
  242. package/src/services/caching.ts +1 -1
  243. package/src/services/chat_completions.ts +1 -1
  244. package/src/services/claude_code_marketplace.ts +20 -14
  245. package/src/services/cloudzero.ts +1 -1
  246. package/src/services/completions.ts +1 -1
  247. package/src/services/compliance.ts +1 -1
  248. package/src/services/config_overrides.ts +8 -2
  249. package/src/services/config_yaml.ts +251 -6
  250. package/src/services/containers.ts +29 -11
  251. package/src/services/coordination_redis_settings.ts +1 -1
  252. package/src/services/cost_tracking.ts +198 -2
  253. package/src/services/credential_management.ts +9 -4
  254. package/src/services/customer_management.ts +49 -3
  255. package/src/services/email_management.ts +1 -1
  256. package/src/services/embeddings.ts +1 -1
  257. package/src/services/evals.ts +1 -1
  258. package/src/services/experimental.ts +1 -1
  259. package/src/services/fallback_management.ts +1 -1
  260. package/src/services/files.ts +1 -1
  261. package/src/services/fine_tuning.ts +1 -1
  262. package/src/services/gemini_agents.ts +1 -1
  263. package/src/services/google_genai_endpoints.ts +1 -1
  264. package/src/services/guardrails.ts +198 -8
  265. package/src/services/health.ts +3 -2
  266. package/src/services/images.ts +1 -1
  267. package/src/services/index.ts +1 -15
  268. package/src/services/internal_user_management.ts +565 -103
  269. package/src/services/invite_links.ts +1 -1
  270. package/src/services/jwt_mappings.ts +7 -1
  271. package/src/services/key_management.ts +229 -126
  272. package/src/services/langfuse_passthrough.ts +1 -1
  273. package/src/services/llm_passthrough.ts +4542 -0
  274. package/src/services/llm_utils.ts +1 -1
  275. package/src/services/logging_callbacks.ts +1 -1
  276. package/src/services/mcp_byok_oauth.ts +65 -45
  277. package/src/services/mcp_discoverable.ts +109 -1
  278. package/src/services/mcp_management.ts +258 -3
  279. package/src/services/mcp_rest.ts +30 -5
  280. package/src/services/memory_management.ts +4 -1
  281. package/src/services/misc.ts +269 -2
  282. package/src/services/model_management.ts +666 -21
  283. package/src/services/moderations.ts +1 -1
  284. package/src/services/ocr.ts +1 -1
  285. package/src/services/open_ai_pass_through.ts +81 -286
  286. package/src/services/organization_management.ts +44 -2
  287. package/src/services/plugins.ts +1 -1
  288. package/src/services/policies.ts +5 -1
  289. package/src/services/policy_engine.ts +10 -1
  290. package/src/services/project_management.ts +33 -1
  291. package/src/services/prompts.ts +1 -1
  292. package/src/services/public.ts +356 -1
  293. package/src/services/rag.ts +1 -1
  294. package/src/services/realtime.ts +11 -111
  295. package/src/services/rerank.ts +187 -7
  296. package/src/services/responses.ts +117 -1
  297. package/src/services/router_settings.ts +1 -1
  298. package/src/services/rust_control_plane.ts +1 -1
  299. package/src/services/scim.ts +134 -3
  300. package/src/services/search.ts +1 -1
  301. package/src/services/search_tools.ts +1 -1
  302. package/src/services/settings.ts +278 -1
  303. package/src/services/sso_settings.ts +2 -1
  304. package/src/services/tag_management.ts +15 -1
  305. package/src/services/team_management.ts +676 -37
  306. package/src/services/tools.ts +1 -1
  307. package/src/services/ui_settings.ts +1 -1
  308. package/src/services/ui_theme_settings.ts +1 -1
  309. package/src/services/usage_ai.ts +1 -1
  310. package/src/services/vantage.ts +1 -1
  311. package/src/services/vector_store_management.ts +1 -1
  312. package/src/services/vector_stores.ts +1 -1
  313. package/src/services/videos.ts +1 -1
  314. package/src/services/web_socket.ts +1 -61
  315. package/src/services/workflow_management.ts +1 -1
  316. package/dist/services/anthropic_pass_through.d.ts +0 -70
  317. package/dist/services/anthropic_pass_through.d.ts.map +0 -1
  318. package/dist/services/anthropic_pass_through.js +0 -114
  319. package/dist/services/anthropic_pass_through.js.map +0 -1
  320. package/dist/services/assembly_ai_eu_pass_through.d.ts +0 -70
  321. package/dist/services/assembly_ai_eu_pass_through.d.ts.map +0 -1
  322. package/dist/services/assembly_ai_eu_pass_through.js +0 -114
  323. package/dist/services/assembly_ai_eu_pass_through.js.map +0 -1
  324. package/dist/services/assembly_ai_pass_through.d.ts +0 -70
  325. package/dist/services/assembly_ai_pass_through.d.ts.map +0 -1
  326. package/dist/services/assembly_ai_pass_through.js +0 -114
  327. package/dist/services/assembly_ai_pass_through.js.map +0 -1
  328. package/dist/services/aws_comprehend_medical_pass_through.d.ts +0 -36
  329. package/dist/services/aws_comprehend_medical_pass_through.d.ts.map +0 -1
  330. package/dist/services/aws_comprehend_medical_pass_through.js +0 -56
  331. package/dist/services/aws_comprehend_medical_pass_through.js.map +0 -1
  332. package/dist/services/azure_ai_pass_through.d.ts +0 -70
  333. package/dist/services/azure_ai_pass_through.d.ts.map +0 -1
  334. package/dist/services/azure_ai_pass_through.js +0 -112
  335. package/dist/services/azure_ai_pass_through.js.map +0 -1
  336. package/dist/services/azure_pass_through.d.ts +0 -70
  337. package/dist/services/azure_pass_through.d.ts.map +0 -1
  338. package/dist/services/azure_pass_through.js +0 -107
  339. package/dist/services/azure_pass_through.js.map +0 -1
  340. package/dist/services/bedrock_pass_through.d.ts +0 -70
  341. package/dist/services/bedrock_pass_through.d.ts.map +0 -1
  342. package/dist/services/bedrock_pass_through.js +0 -114
  343. package/dist/services/bedrock_pass_through.js.map +0 -1
  344. package/dist/services/cohere_pass_through.d.ts +0 -70
  345. package/dist/services/cohere_pass_through.d.ts.map +0 -1
  346. package/dist/services/cohere_pass_through.js +0 -112
  347. package/dist/services/cohere_pass_through.js.map +0 -1
  348. package/dist/services/cursor_pass_through.d.ts +0 -70
  349. package/dist/services/cursor_pass_through.d.ts.map +0 -1
  350. package/dist/services/cursor_pass_through.js +0 -112
  351. package/dist/services/cursor_pass_through.js.map +0 -1
  352. package/dist/services/google_ai_studio_pass_through.d.ts +0 -70
  353. package/dist/services/google_ai_studio_pass_through.d.ts.map +0 -1
  354. package/dist/services/google_ai_studio_pass_through.js +0 -112
  355. package/dist/services/google_ai_studio_pass_through.js.map +0 -1
  356. package/dist/services/milvus_pass_through.d.ts +0 -70
  357. package/dist/services/milvus_pass_through.d.ts.map +0 -1
  358. package/dist/services/milvus_pass_through.js +0 -112
  359. package/dist/services/milvus_pass_through.js.map +0 -1
  360. package/dist/services/mistral_pass_through.d.ts +0 -70
  361. package/dist/services/mistral_pass_through.d.ts.map +0 -1
  362. package/dist/services/mistral_pass_through.js +0 -114
  363. package/dist/services/mistral_pass_through.js.map +0 -1
  364. package/dist/services/vertex_ai_pass_through.d.ts +0 -180
  365. package/dist/services/vertex_ai_pass_through.d.ts.map +0 -1
  366. package/dist/services/vertex_ai_pass_through.js +0 -334
  367. package/dist/services/vertex_ai_pass_through.js.map +0 -1
  368. package/dist/services/vllm_pass_through.d.ts +0 -70
  369. package/dist/services/vllm_pass_through.d.ts.map +0 -1
  370. package/dist/services/vllm_pass_through.js +0 -104
  371. package/dist/services/vllm_pass_through.js.map +0 -1
  372. package/dist/services/watsonx_pass_through.d.ts +0 -70
  373. package/dist/services/watsonx_pass_through.d.ts.map +0 -1
  374. package/dist/services/watsonx_pass_through.js +0 -114
  375. package/dist/services/watsonx_pass_through.js.map +0 -1
  376. package/src/services/anthropic_pass_through.ts +0 -233
  377. package/src/services/assembly_ai_eu_pass_through.ts +0 -237
  378. package/src/services/assembly_ai_pass_through.ts +0 -237
  379. package/src/services/aws_comprehend_medical_pass_through.ts +0 -109
  380. package/src/services/azure_ai_pass_through.ts +0 -231
  381. package/src/services/azure_pass_through.ts +0 -227
  382. package/src/services/bedrock_pass_through.ts +0 -229
  383. package/src/services/cohere_pass_through.ts +0 -227
  384. package/src/services/cursor_pass_through.ts +0 -227
  385. package/src/services/google_ai_studio_pass_through.ts +0 -227
  386. package/src/services/milvus_pass_through.ts +0 -227
  387. package/src/services/mistral_pass_through.ts +0 -229
  388. package/src/services/vertex_ai_pass_through.ts +0 -684
  389. package/src/services/vllm_pass_through.ts +0 -227
  390. package/src/services/watsonx_pass_through.ts +0 -229
@@ -1,104 +0,0 @@
1
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.0 — see README). Do not edit.
2
- import * as S from "@distilled.cloud/core/schema";
3
- import * as API from "@distilled.cloud/core/api";
4
- import * as C from "@distilled.cloud/core/category";
5
- import * as T from "../traits.js";
6
- import { LitellmProtocol, } from "../protocol.js";
7
- import * as Retry from "../retry.js";
8
- export class UnprocessableEntity extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
9
- /*@__PURE__*/ S.TaggedError()("UnprocessableEntity", {
10
- code: S.Number,
11
- message: S.String,
12
- }).pipe(C.withBadRequestError), [{ status: 422 }]) {
13
- }
14
- export const DeleteVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
15
- endpoint: S.String.pipe(T.Label()),
16
- }).pipe(T.Http({ method: "DELETE", uri: "/vllm/{endpoint}", code: 200 }))).annotate({
17
- identifier: "DeleteVllmProxyRouteVllmEndpointRequest",
18
- });
19
- export const DeleteVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
20
- body: S.Unknown,
21
- })).annotate({
22
- identifier: "DeleteVllmProxyRouteVllmEndpointResponse",
23
- });
24
- export const GetVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
25
- endpoint: S.String.pipe(T.Label()),
26
- }).pipe(T.Http({ method: "GET", uri: "/vllm/{endpoint}", code: 200 }))).annotate({
27
- identifier: "GetVllmProxyRouteVllmEndpointRequest",
28
- });
29
- export const GetVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
30
- body: S.Unknown,
31
- })).annotate({
32
- identifier: "GetVllmProxyRouteVllmEndpointResponse",
33
- });
34
- export const PatchVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
35
- endpoint: S.String.pipe(T.Label()),
36
- }).pipe(T.Http({ method: "PATCH", uri: "/vllm/{endpoint}", code: 200 }))).annotate({
37
- identifier: "PatchVllmProxyRouteVllmEndpointRequest",
38
- });
39
- export const PatchVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
40
- body: S.Unknown,
41
- })).annotate({
42
- identifier: "PatchVllmProxyRouteVllmEndpointResponse",
43
- });
44
- export const PostVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
45
- endpoint: S.String.pipe(T.Label()),
46
- }).pipe(T.Http({ method: "POST", uri: "/vllm/{endpoint}", code: 200 }))).annotate({
47
- identifier: "PostVllmProxyRouteVllmEndpointRequest",
48
- });
49
- export const PostVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
50
- body: S.Unknown,
51
- })).annotate({
52
- identifier: "PostVllmProxyRouteVllmEndpointResponse",
53
- });
54
- export const PutVllmProxyRouteVllmEndpointRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
55
- endpoint: S.String.pipe(T.Label()),
56
- }).pipe(T.Http({ method: "PUT", uri: "/vllm/{endpoint}", code: 200 }))).annotate({
57
- identifier: "PutVllmProxyRouteVllmEndpointRequest",
58
- });
59
- export const PutVllmProxyRouteVllmEndpointResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
60
- body: S.Unknown,
61
- })).annotate({
62
- identifier: "PutVllmProxyRouteVllmEndpointResponse",
63
- });
64
- /** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
65
- export const deleteVllmProxyRouteVllmEndpoint = /*@__PURE__*/ API.make(() => ({
66
- input: DeleteVllmProxyRouteVllmEndpointRequest,
67
- output: DeleteVllmProxyRouteVllmEndpointResponse,
68
- errors: [UnprocessableEntity],
69
- protocol: LitellmProtocol,
70
- retry: Retry.Retry,
71
- }));
72
- /** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
73
- export const getVllmProxyRouteVllmEndpoint = /*@__PURE__*/ API.make(() => ({
74
- input: GetVllmProxyRouteVllmEndpointRequest,
75
- output: GetVllmProxyRouteVllmEndpointResponse,
76
- errors: [UnprocessableEntity],
77
- protocol: LitellmProtocol,
78
- retry: Retry.Retry,
79
- }));
80
- /** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
81
- export const patchVllmProxyRouteVllmEndpoint = /*@__PURE__*/ API.make(() => ({
82
- input: PatchVllmProxyRouteVllmEndpointRequest,
83
- output: PatchVllmProxyRouteVllmEndpointResponse,
84
- errors: [UnprocessableEntity],
85
- protocol: LitellmProtocol,
86
- retry: Retry.Retry,
87
- }));
88
- /** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
89
- export const postVllmProxyRouteVllmEndpoint = /*@__PURE__*/ API.make(() => ({
90
- input: PostVllmProxyRouteVllmEndpointRequest,
91
- output: PostVllmProxyRouteVllmEndpointResponse,
92
- errors: [UnprocessableEntity],
93
- protocol: LitellmProtocol,
94
- retry: Retry.Retry,
95
- }));
96
- /** Vllm Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/vllm) */
97
- export const putVllmProxyRouteVllmEndpoint = /*@__PURE__*/ API.make(() => ({
98
- input: PutVllmProxyRouteVllmEndpointRequest,
99
- output: PutVllmProxyRouteVllmEndpointResponse,
100
- errors: [UnprocessableEntity],
101
- protocol: LitellmProtocol,
102
- retry: Retry.Retry,
103
- }));
104
- //# sourceMappingURL=vllm_pass_through.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vllm_pass_through.js","sourceRoot":"","sources":["../../src/services/vllm_pass_through.ts"],"names":[],"mappings":"AAAA,4HAA4H;AAC5H,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,gCAAgC,CAAC;AACpD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,eAAe,GAGhB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAIrC,MAAM,OAAO,mBACX,SAAQ,aAAa,CAAb,aAAa,CAAC,CAAC,CAAC,kBAAkB;AACxC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAuB,CAAC,qBAAqB,EAAE;IACxE,IAAI,EAAE,CAAC,CAAC,MAAM;IACd,OAAO,EAAE,CAAC,CAAC,MAAM;CAClB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,EAC9B,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAClB;CAAG;AAKN,MAAM,CAAC,MAAM,uCAAuC,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAC5E,GAAG,EAAE,CACH,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,CAAC,CAAC,MAAM,CAA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C;AAKJ,8EAA8E;AAC9E,MAAM,CAAC,MAAM,+BAA+B,GAKxC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,sCAAsC;IAC7C,MAAM,EAAE,uCAAuC;IAC/C,MAAM,EAAE,CAAC,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAKJ,8EAA8E;AAC9E,MAAM,CAAC,MAAM,8BAA8B,GAKvC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,qCAAqC;IAC5C,MAAM,EAAE,sCAAsC;IAC9C,MAAM,EAAE,CAAC,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAKJ,8EAA8E;AAC9E,MAAM,CAAC,MAAM,6BAA6B,GAKtC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,oCAAoC;IAC3C,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,CAAC,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
@@ -1,70 +0,0 @@
1
- import * as S from "@distilled.cloud/core/schema";
2
- import * as API from "@distilled.cloud/core/api";
3
- import { type LitellmOpError, type LitellmOpContext } from "../protocol.ts";
4
- export type { LitellmOpError, LitellmOpContext };
5
- declare const UnprocessableEntity_base: S.Class<UnprocessableEntity, S.TaggedStruct<"UnprocessableEntity", {
6
- readonly code: any;
7
- readonly message: any;
8
- }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
9
- "@distilled.cloud/error/categories": {
10
- BadRequestError: true;
11
- };
12
- });
13
- export declare class UnprocessableEntity extends /*@__PURE__*/ UnprocessableEntity_base {
14
- }
15
- export interface DeleteWatsonxProxyRouteWatsonxEndpointRequest {
16
- endpoint: string;
17
- }
18
- export declare const DeleteWatsonxProxyRouteWatsonxEndpointRequest: S.Schema<DeleteWatsonxProxyRouteWatsonxEndpointRequest>;
19
- export interface DeleteWatsonxProxyRouteWatsonxEndpointResponse {
20
- body: unknown;
21
- }
22
- export declare const DeleteWatsonxProxyRouteWatsonxEndpointResponse: S.Schema<DeleteWatsonxProxyRouteWatsonxEndpointResponse>;
23
- export interface GetWatsonxProxyRouteWatsonxEndpointRequest {
24
- endpoint: string;
25
- }
26
- export declare const GetWatsonxProxyRouteWatsonxEndpointRequest: S.Schema<GetWatsonxProxyRouteWatsonxEndpointRequest>;
27
- export interface GetWatsonxProxyRouteWatsonxEndpointResponse {
28
- body: unknown;
29
- }
30
- export declare const GetWatsonxProxyRouteWatsonxEndpointResponse: S.Schema<GetWatsonxProxyRouteWatsonxEndpointResponse>;
31
- export interface PatchWatsonxProxyRouteWatsonxEndpointRequest {
32
- endpoint: string;
33
- }
34
- export declare const PatchWatsonxProxyRouteWatsonxEndpointRequest: S.Schema<PatchWatsonxProxyRouteWatsonxEndpointRequest>;
35
- export interface PatchWatsonxProxyRouteWatsonxEndpointResponse {
36
- body: unknown;
37
- }
38
- export declare const PatchWatsonxProxyRouteWatsonxEndpointResponse: S.Schema<PatchWatsonxProxyRouteWatsonxEndpointResponse>;
39
- export interface PostWatsonxProxyRouteWatsonxEndpointRequest {
40
- endpoint: string;
41
- }
42
- export declare const PostWatsonxProxyRouteWatsonxEndpointRequest: S.Schema<PostWatsonxProxyRouteWatsonxEndpointRequest>;
43
- export interface PostWatsonxProxyRouteWatsonxEndpointResponse {
44
- body: unknown;
45
- }
46
- export declare const PostWatsonxProxyRouteWatsonxEndpointResponse: S.Schema<PostWatsonxProxyRouteWatsonxEndpointResponse>;
47
- export interface PutWatsonxProxyRouteWatsonxEndpointRequest {
48
- endpoint: string;
49
- }
50
- export declare const PutWatsonxProxyRouteWatsonxEndpointRequest: S.Schema<PutWatsonxProxyRouteWatsonxEndpointRequest>;
51
- export interface PutWatsonxProxyRouteWatsonxEndpointResponse {
52
- body: unknown;
53
- }
54
- export declare const PutWatsonxProxyRouteWatsonxEndpointResponse: S.Schema<PutWatsonxProxyRouteWatsonxEndpointResponse>;
55
- export type DeleteWatsonxProxyRouteWatsonxEndpointError = UnprocessableEntity | LitellmOpError;
56
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
57
- export declare const deleteWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<DeleteWatsonxProxyRouteWatsonxEndpointRequest, DeleteWatsonxProxyRouteWatsonxEndpointResponse, DeleteWatsonxProxyRouteWatsonxEndpointError, LitellmOpContext>;
58
- export type GetWatsonxProxyRouteWatsonxEndpointError = UnprocessableEntity | LitellmOpError;
59
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
60
- export declare const getWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<GetWatsonxProxyRouteWatsonxEndpointRequest, GetWatsonxProxyRouteWatsonxEndpointResponse, GetWatsonxProxyRouteWatsonxEndpointError, LitellmOpContext>;
61
- export type PatchWatsonxProxyRouteWatsonxEndpointError = UnprocessableEntity | LitellmOpError;
62
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
63
- export declare const patchWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<PatchWatsonxProxyRouteWatsonxEndpointRequest, PatchWatsonxProxyRouteWatsonxEndpointResponse, PatchWatsonxProxyRouteWatsonxEndpointError, LitellmOpContext>;
64
- export type PostWatsonxProxyRouteWatsonxEndpointError = UnprocessableEntity | LitellmOpError;
65
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
66
- export declare const postWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<PostWatsonxProxyRouteWatsonxEndpointRequest, PostWatsonxProxyRouteWatsonxEndpointResponse, PostWatsonxProxyRouteWatsonxEndpointError, LitellmOpContext>;
67
- export type PutWatsonxProxyRouteWatsonxEndpointError = UnprocessableEntity | LitellmOpError;
68
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
69
- export declare const putWatsonxProxyRouteWatsonxEndpoint: API.OperationMethod<PutWatsonxProxyRouteWatsonxEndpointRequest, PutWatsonxProxyRouteWatsonxEndpointResponse, PutWatsonxProxyRouteWatsonxEndpointError, LitellmOpContext>;
70
- //# sourceMappingURL=watsonx_pass_through.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watsonx_pass_through.d.ts","sourceRoot":"","sources":["../../src/services/watsonx_pass_through.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;;;;;;;;;AAEjD,qBAAa,mBACX,SAAQ,aAAa,CAAC,wBAMrB;CAAG;AAEN,MAAM,WAAW,6CAA6C;IAC5D,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,eAAO,MAAM,6CAA6C,EAS3C,CAAC,CAAC,MAAM,CAAC,6CAA6C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EAOzC,CAAC,CAAC,MAAM,CAAC,2CAA2C,CAAC,CAAC;AAErE,MAAM,MAAM,2CAA2C,GACnD,mBAAmB,GACnB,cAAc,CAAC;AACnB,2OAA2O;AAC3O,eAAO,MAAM,sCAAsC,EAAE,GAAG,CAAC,eAAe,CACtE,6CAA6C,EAC7C,8CAA8C,EAC9C,2CAA2C,EAC3C,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,wCAAwC,GAChD,mBAAmB,GACnB,cAAc,CAAC;AACnB,2OAA2O;AAC3O,eAAO,MAAM,mCAAmC,EAAE,GAAG,CAAC,eAAe,CACnE,0CAA0C,EAC1C,2CAA2C,EAC3C,wCAAwC,EACxC,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,0CAA0C,GAClD,mBAAmB,GACnB,cAAc,CAAC;AACnB,2OAA2O;AAC3O,eAAO,MAAM,qCAAqC,EAAE,GAAG,CAAC,eAAe,CACrE,4CAA4C,EAC5C,6CAA6C,EAC7C,0CAA0C,EAC1C,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,yCAAyC,GACjD,mBAAmB,GACnB,cAAc,CAAC;AACnB,2OAA2O;AAC3O,eAAO,MAAM,oCAAoC,EAAE,GAAG,CAAC,eAAe,CACpE,2CAA2C,EAC3C,4CAA4C,EAC5C,yCAAyC,EACzC,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,wCAAwC,GAChD,mBAAmB,GACnB,cAAc,CAAC;AACnB,2OAA2O;AAC3O,eAAO,MAAM,mCAAmC,EAAE,GAAG,CAAC,eAAe,CACnE,0CAA0C,EAC1C,2CAA2C,EAC3C,wCAAwC,EACxC,gBAAgB,CAOf,CAAC"}
@@ -1,114 +0,0 @@
1
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.0 — see README). Do not edit.
2
- import * as S from "@distilled.cloud/core/schema";
3
- import * as API from "@distilled.cloud/core/api";
4
- import * as C from "@distilled.cloud/core/category";
5
- import * as T from "../traits.js";
6
- import { LitellmProtocol, } from "../protocol.js";
7
- import * as Retry from "../retry.js";
8
- export class UnprocessableEntity extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
9
- /*@__PURE__*/ S.TaggedError()("UnprocessableEntity", {
10
- code: S.Number,
11
- message: S.String,
12
- }).pipe(C.withBadRequestError), [{ status: 422 }]) {
13
- }
14
- export const DeleteWatsonxProxyRouteWatsonxEndpointRequest =
15
- /*@__PURE__*/ S.suspend(() => S.Struct({
16
- endpoint: S.String.pipe(T.Label()),
17
- }).pipe(T.Http({ method: "DELETE", uri: "/watsonx/{endpoint}", code: 200 }))).annotate({
18
- identifier: "DeleteWatsonxProxyRouteWatsonxEndpointRequest",
19
- });
20
- export const DeleteWatsonxProxyRouteWatsonxEndpointResponse =
21
- /*@__PURE__*/ S.suspend(() => S.Struct({
22
- body: S.Unknown,
23
- })).annotate({
24
- identifier: "DeleteWatsonxProxyRouteWatsonxEndpointResponse",
25
- });
26
- export const GetWatsonxProxyRouteWatsonxEndpointRequest =
27
- /*@__PURE__*/ S.suspend(() => S.Struct({
28
- endpoint: S.String.pipe(T.Label()),
29
- }).pipe(T.Http({ method: "GET", uri: "/watsonx/{endpoint}", code: 200 }))).annotate({
30
- identifier: "GetWatsonxProxyRouteWatsonxEndpointRequest",
31
- });
32
- export const GetWatsonxProxyRouteWatsonxEndpointResponse =
33
- /*@__PURE__*/ S.suspend(() => S.Struct({
34
- body: S.Unknown,
35
- })).annotate({
36
- identifier: "GetWatsonxProxyRouteWatsonxEndpointResponse",
37
- });
38
- export const PatchWatsonxProxyRouteWatsonxEndpointRequest =
39
- /*@__PURE__*/ S.suspend(() => S.Struct({
40
- endpoint: S.String.pipe(T.Label()),
41
- }).pipe(T.Http({ method: "PATCH", uri: "/watsonx/{endpoint}", code: 200 }))).annotate({
42
- identifier: "PatchWatsonxProxyRouteWatsonxEndpointRequest",
43
- });
44
- export const PatchWatsonxProxyRouteWatsonxEndpointResponse =
45
- /*@__PURE__*/ S.suspend(() => S.Struct({
46
- body: S.Unknown,
47
- })).annotate({
48
- identifier: "PatchWatsonxProxyRouteWatsonxEndpointResponse",
49
- });
50
- export const PostWatsonxProxyRouteWatsonxEndpointRequest =
51
- /*@__PURE__*/ S.suspend(() => S.Struct({
52
- endpoint: S.String.pipe(T.Label()),
53
- }).pipe(T.Http({ method: "POST", uri: "/watsonx/{endpoint}", code: 200 }))).annotate({
54
- identifier: "PostWatsonxProxyRouteWatsonxEndpointRequest",
55
- });
56
- export const PostWatsonxProxyRouteWatsonxEndpointResponse =
57
- /*@__PURE__*/ S.suspend(() => S.Struct({
58
- body: S.Unknown,
59
- })).annotate({
60
- identifier: "PostWatsonxProxyRouteWatsonxEndpointResponse",
61
- });
62
- export const PutWatsonxProxyRouteWatsonxEndpointRequest =
63
- /*@__PURE__*/ S.suspend(() => S.Struct({
64
- endpoint: S.String.pipe(T.Label()),
65
- }).pipe(T.Http({ method: "PUT", uri: "/watsonx/{endpoint}", code: 200 }))).annotate({
66
- identifier: "PutWatsonxProxyRouteWatsonxEndpointRequest",
67
- });
68
- export const PutWatsonxProxyRouteWatsonxEndpointResponse =
69
- /*@__PURE__*/ S.suspend(() => S.Struct({
70
- body: S.Unknown,
71
- })).annotate({
72
- identifier: "PutWatsonxProxyRouteWatsonxEndpointResponse",
73
- });
74
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
75
- export const deleteWatsonxProxyRouteWatsonxEndpoint = /*@__PURE__*/ API.make(() => ({
76
- input: DeleteWatsonxProxyRouteWatsonxEndpointRequest,
77
- output: DeleteWatsonxProxyRouteWatsonxEndpointResponse,
78
- errors: [UnprocessableEntity],
79
- protocol: LitellmProtocol,
80
- retry: Retry.Retry,
81
- }));
82
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
83
- export const getWatsonxProxyRouteWatsonxEndpoint = /*@__PURE__*/ API.make(() => ({
84
- input: GetWatsonxProxyRouteWatsonxEndpointRequest,
85
- output: GetWatsonxProxyRouteWatsonxEndpointResponse,
86
- errors: [UnprocessableEntity],
87
- protocol: LitellmProtocol,
88
- retry: Retry.Retry,
89
- }));
90
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
91
- export const patchWatsonxProxyRouteWatsonxEndpoint = /*@__PURE__*/ API.make(() => ({
92
- input: PatchWatsonxProxyRouteWatsonxEndpointRequest,
93
- output: PatchWatsonxProxyRouteWatsonxEndpointResponse,
94
- errors: [UnprocessableEntity],
95
- protocol: LitellmProtocol,
96
- retry: Retry.Retry,
97
- }));
98
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
99
- export const postWatsonxProxyRouteWatsonxEndpoint = /*@__PURE__*/ API.make(() => ({
100
- input: PostWatsonxProxyRouteWatsonxEndpointRequest,
101
- output: PostWatsonxProxyRouteWatsonxEndpointResponse,
102
- errors: [UnprocessableEntity],
103
- protocol: LitellmProtocol,
104
- retry: Retry.Retry,
105
- }));
106
- /** Watsonx Proxy Route Watsonx pass-through endpoint. Allows using Watsonx APIs with automatic IAM token management and version parameter injection. Example: POST /watsonx/ml/v1/text/tokenization POST /watsonx/ml/v1/text/generation */
107
- export const putWatsonxProxyRouteWatsonxEndpoint = /*@__PURE__*/ API.make(() => ({
108
- input: PutWatsonxProxyRouteWatsonxEndpointRequest,
109
- output: PutWatsonxProxyRouteWatsonxEndpointResponse,
110
- errors: [UnprocessableEntity],
111
- protocol: LitellmProtocol,
112
- retry: Retry.Retry,
113
- }));
114
- //# sourceMappingURL=watsonx_pass_through.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watsonx_pass_through.js","sourceRoot":"","sources":["../../src/services/watsonx_pass_through.ts"],"names":[],"mappings":"AAAA,4HAA4H;AAC5H,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,gCAAgC,CAAC;AACpD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,eAAe,GAGhB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAIrC,MAAM,OAAO,mBACX,SAAQ,aAAa,CAAb,aAAa,CAAC,CAAC,CAAC,kBAAkB;AACxC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAuB,CAAC,qBAAqB,EAAE;IACxE,IAAI,EAAE,CAAC,CAAC,MAAM;IACd,OAAO,EAAE,CAAC,CAAC,MAAM;CAClB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,EAC9B,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAClB;CAAG;AAKN,MAAM,CAAC,MAAM,6CAA6C;AACxD,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAC3B,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;CACnC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,qBAAqB,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CACpE,CACF,CAAC,QAAQ,CAAC;IACT,UAAU,EAAE,+CAA+C;CAC5D,CAAmE,CAAC;AAKvE,MAAM,CAAC,MAAM,8CAA8C;AACzD,aAAa,CAAC,CAAC,CAAC,OAAO,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AAC3O,MAAM,CAAC,MAAM,oCAAoC,GAK7C,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,2CAA2C;IAClD,MAAM,EAAE,4CAA4C;IACpD,MAAM,EAAE,CAAC,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAKJ,2OAA2O;AAC3O,MAAM,CAAC,MAAM,mCAAmC,GAK5C,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,0CAA0C;IACjD,MAAM,EAAE,2CAA2C;IACnD,MAAM,EAAE,CAAC,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
@@ -1,233 +0,0 @@
1
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.0 — see README). Do not edit.
2
- import * as S from "@distilled.cloud/core/schema";
3
- import * as API from "@distilled.cloud/core/api";
4
- import * as C from "@distilled.cloud/core/category";
5
- import * as T from "../traits.ts";
6
- import {
7
- LitellmProtocol,
8
- type LitellmOpError,
9
- type LitellmOpContext,
10
- } from "../protocol.ts";
11
- import * as Retry from "../retry.ts";
12
-
13
- export type { LitellmOpError, LitellmOpContext };
14
-
15
- export class UnprocessableEntity
16
- extends /*@__PURE__*/ T.applyErrorMatchers(
17
- /*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
18
- code: S.Number,
19
- message: S.String,
20
- }).pipe(C.withBadRequestError),
21
- [{ status: 422 }],
22
- ) {}
23
-
24
- export interface DeleteAnthropicProxyRouteAnthropicEndpointRequest {
25
- endpoint: string;
26
- }
27
- export const DeleteAnthropicProxyRouteAnthropicEndpointRequest =
28
- /*@__PURE__*/ S.suspend(() =>
29
- S.Struct({
30
- endpoint: S.String.pipe(T.Label()),
31
- }).pipe(
32
- T.Http({ method: "DELETE", uri: "/anthropic/{endpoint}", code: 200 }),
33
- ),
34
- ).annotate({
35
- identifier: "DeleteAnthropicProxyRouteAnthropicEndpointRequest",
36
- }) as any as S.Schema<DeleteAnthropicProxyRouteAnthropicEndpointRequest>;
37
-
38
- export interface DeleteAnthropicProxyRouteAnthropicEndpointResponse {
39
- body: unknown;
40
- }
41
- export const DeleteAnthropicProxyRouteAnthropicEndpointResponse =
42
- /*@__PURE__*/ S.suspend(() =>
43
- S.Struct({
44
- body: S.Unknown,
45
- }),
46
- ).annotate({
47
- identifier: "DeleteAnthropicProxyRouteAnthropicEndpointResponse",
48
- }) as any as S.Schema<DeleteAnthropicProxyRouteAnthropicEndpointResponse>;
49
-
50
- export interface GetAnthropicProxyRouteAnthropicEndpointRequest {
51
- endpoint: string;
52
- }
53
- export const GetAnthropicProxyRouteAnthropicEndpointRequest =
54
- /*@__PURE__*/ S.suspend(() =>
55
- S.Struct({
56
- endpoint: S.String.pipe(T.Label()),
57
- }).pipe(T.Http({ method: "GET", uri: "/anthropic/{endpoint}", code: 200 })),
58
- ).annotate({
59
- identifier: "GetAnthropicProxyRouteAnthropicEndpointRequest",
60
- }) as any as S.Schema<GetAnthropicProxyRouteAnthropicEndpointRequest>;
61
-
62
- export interface GetAnthropicProxyRouteAnthropicEndpointResponse {
63
- body: unknown;
64
- }
65
- export const GetAnthropicProxyRouteAnthropicEndpointResponse =
66
- /*@__PURE__*/ S.suspend(() =>
67
- S.Struct({
68
- body: S.Unknown,
69
- }),
70
- ).annotate({
71
- identifier: "GetAnthropicProxyRouteAnthropicEndpointResponse",
72
- }) as any as S.Schema<GetAnthropicProxyRouteAnthropicEndpointResponse>;
73
-
74
- export interface PatchAnthropicProxyRouteAnthropicEndpointRequest {
75
- endpoint: string;
76
- }
77
- export const PatchAnthropicProxyRouteAnthropicEndpointRequest =
78
- /*@__PURE__*/ S.suspend(() =>
79
- S.Struct({
80
- endpoint: S.String.pipe(T.Label()),
81
- }).pipe(
82
- T.Http({ method: "PATCH", uri: "/anthropic/{endpoint}", code: 200 }),
83
- ),
84
- ).annotate({
85
- identifier: "PatchAnthropicProxyRouteAnthropicEndpointRequest",
86
- }) as any as S.Schema<PatchAnthropicProxyRouteAnthropicEndpointRequest>;
87
-
88
- export interface PatchAnthropicProxyRouteAnthropicEndpointResponse {
89
- body: unknown;
90
- }
91
- export const PatchAnthropicProxyRouteAnthropicEndpointResponse =
92
- /*@__PURE__*/ S.suspend(() =>
93
- S.Struct({
94
- body: S.Unknown,
95
- }),
96
- ).annotate({
97
- identifier: "PatchAnthropicProxyRouteAnthropicEndpointResponse",
98
- }) as any as S.Schema<PatchAnthropicProxyRouteAnthropicEndpointResponse>;
99
-
100
- export interface PostAnthropicProxyRouteAnthropicEndpointRequest {
101
- endpoint: string;
102
- }
103
- export const PostAnthropicProxyRouteAnthropicEndpointRequest =
104
- /*@__PURE__*/ S.suspend(() =>
105
- S.Struct({
106
- endpoint: S.String.pipe(T.Label()),
107
- }).pipe(
108
- T.Http({ method: "POST", uri: "/anthropic/{endpoint}", code: 200 }),
109
- ),
110
- ).annotate({
111
- identifier: "PostAnthropicProxyRouteAnthropicEndpointRequest",
112
- }) as any as S.Schema<PostAnthropicProxyRouteAnthropicEndpointRequest>;
113
-
114
- export interface PostAnthropicProxyRouteAnthropicEndpointResponse {
115
- body: unknown;
116
- }
117
- export const PostAnthropicProxyRouteAnthropicEndpointResponse =
118
- /*@__PURE__*/ S.suspend(() =>
119
- S.Struct({
120
- body: S.Unknown,
121
- }),
122
- ).annotate({
123
- identifier: "PostAnthropicProxyRouteAnthropicEndpointResponse",
124
- }) as any as S.Schema<PostAnthropicProxyRouteAnthropicEndpointResponse>;
125
-
126
- export interface PutAnthropicProxyRouteAnthropicEndpointRequest {
127
- endpoint: string;
128
- }
129
- export const PutAnthropicProxyRouteAnthropicEndpointRequest =
130
- /*@__PURE__*/ S.suspend(() =>
131
- S.Struct({
132
- endpoint: S.String.pipe(T.Label()),
133
- }).pipe(T.Http({ method: "PUT", uri: "/anthropic/{endpoint}", code: 200 })),
134
- ).annotate({
135
- identifier: "PutAnthropicProxyRouteAnthropicEndpointRequest",
136
- }) as any as S.Schema<PutAnthropicProxyRouteAnthropicEndpointRequest>;
137
-
138
- export interface PutAnthropicProxyRouteAnthropicEndpointResponse {
139
- body: unknown;
140
- }
141
- export const PutAnthropicProxyRouteAnthropicEndpointResponse =
142
- /*@__PURE__*/ S.suspend(() =>
143
- S.Struct({
144
- body: S.Unknown,
145
- }),
146
- ).annotate({
147
- identifier: "PutAnthropicProxyRouteAnthropicEndpointResponse",
148
- }) as any as S.Schema<PutAnthropicProxyRouteAnthropicEndpointResponse>;
149
-
150
- export type DeleteAnthropicProxyRouteAnthropicEndpointError =
151
- | UnprocessableEntity
152
- | LitellmOpError;
153
- /** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
154
- export const deleteAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
155
- DeleteAnthropicProxyRouteAnthropicEndpointRequest,
156
- DeleteAnthropicProxyRouteAnthropicEndpointResponse,
157
- DeleteAnthropicProxyRouteAnthropicEndpointError,
158
- LitellmOpContext
159
- > = /*@__PURE__*/ API.make(() => ({
160
- input: DeleteAnthropicProxyRouteAnthropicEndpointRequest,
161
- output: DeleteAnthropicProxyRouteAnthropicEndpointResponse,
162
- errors: [UnprocessableEntity],
163
- protocol: LitellmProtocol,
164
- retry: Retry.Retry,
165
- }));
166
-
167
- export type GetAnthropicProxyRouteAnthropicEndpointError =
168
- | UnprocessableEntity
169
- | LitellmOpError;
170
- /** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
171
- export const getAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
172
- GetAnthropicProxyRouteAnthropicEndpointRequest,
173
- GetAnthropicProxyRouteAnthropicEndpointResponse,
174
- GetAnthropicProxyRouteAnthropicEndpointError,
175
- LitellmOpContext
176
- > = /*@__PURE__*/ API.make(() => ({
177
- input: GetAnthropicProxyRouteAnthropicEndpointRequest,
178
- output: GetAnthropicProxyRouteAnthropicEndpointResponse,
179
- errors: [UnprocessableEntity],
180
- protocol: LitellmProtocol,
181
- retry: Retry.Retry,
182
- }));
183
-
184
- export type PatchAnthropicProxyRouteAnthropicEndpointError =
185
- | UnprocessableEntity
186
- | LitellmOpError;
187
- /** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
188
- export const patchAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
189
- PatchAnthropicProxyRouteAnthropicEndpointRequest,
190
- PatchAnthropicProxyRouteAnthropicEndpointResponse,
191
- PatchAnthropicProxyRouteAnthropicEndpointError,
192
- LitellmOpContext
193
- > = /*@__PURE__*/ API.make(() => ({
194
- input: PatchAnthropicProxyRouteAnthropicEndpointRequest,
195
- output: PatchAnthropicProxyRouteAnthropicEndpointResponse,
196
- errors: [UnprocessableEntity],
197
- protocol: LitellmProtocol,
198
- retry: Retry.Retry,
199
- }));
200
-
201
- export type PostAnthropicProxyRouteAnthropicEndpointError =
202
- | UnprocessableEntity
203
- | LitellmOpError;
204
- /** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
205
- export const postAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
206
- PostAnthropicProxyRouteAnthropicEndpointRequest,
207
- PostAnthropicProxyRouteAnthropicEndpointResponse,
208
- PostAnthropicProxyRouteAnthropicEndpointError,
209
- LitellmOpContext
210
- > = /*@__PURE__*/ API.make(() => ({
211
- input: PostAnthropicProxyRouteAnthropicEndpointRequest,
212
- output: PostAnthropicProxyRouteAnthropicEndpointResponse,
213
- errors: [UnprocessableEntity],
214
- protocol: LitellmProtocol,
215
- retry: Retry.Retry,
216
- }));
217
-
218
- export type PutAnthropicProxyRouteAnthropicEndpointError =
219
- | UnprocessableEntity
220
- | LitellmOpError;
221
- /** Anthropic Proxy Route [Docs](https://docs.litellm.ai/docs/pass_through/anthropic_completion) */
222
- export const putAnthropicProxyRouteAnthropicEndpoint: API.OperationMethod<
223
- PutAnthropicProxyRouteAnthropicEndpointRequest,
224
- PutAnthropicProxyRouteAnthropicEndpointResponse,
225
- PutAnthropicProxyRouteAnthropicEndpointError,
226
- LitellmOpContext
227
- > = /*@__PURE__*/ API.make(() => ({
228
- input: PutAnthropicProxyRouteAnthropicEndpointRequest,
229
- output: PutAnthropicProxyRouteAnthropicEndpointResponse,
230
- errors: [UnprocessableEntity],
231
- protocol: LitellmProtocol,
232
- retry: Retry.Retry,
233
- }));