"use strict";(self.webpackChunk_postman_app_scratchpad=self.webpackChunk_postman_app_scratchpad||[]).push([[49],{7525:function(e,r,a){a.r(r),a.d(r,{VERSION:function(){return d},createVercel:function(){return i},vercel:function(){return l}});var t=a(7395),n=a(7514),o=a(7396),d="1.0.23";function i(e={}){var r;const a=(0,o.withoutTrailingSlash)(null!=(r=e.baseURL)?r:"https://api.v0.dev/v1"),i=()=>(0,o.withUserAgentSuffix)({Authorization:`Bearer ${(0,o.loadApiKey)({apiKey:e.apiKey,environmentVariableName:"VERCEL_API_KEY",description:"Vercel"})}`,...e.headers},`ai-sdk/vercel/${d}`),l=r=>{return new n.OpenAICompatibleChatLanguageModel(r,{...(t="chat",{provider:`vercel.${t}`,url:({path:e})=>`${a}${e}`,headers:i,fetch:e.fetch})});var t},c=e=>l(e);return c.languageModel=l,c.textEmbeddingModel=e=>{throw new t.NoSuchModelError({modelId:e,modelType:"textEmbeddingModel"})},c.imageModel=e=>{throw new t.NoSuchModelError({modelId:e,modelType:"imageModel"})},c}var l=i()}}]);