Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
albus: {
type: "app",
app: "albus",
}
},
async run({steps, $}) {
const data = {
"prompt": `Once upon`,
}
return await axios($, {
method: "post",
url: `https://api-albus.springworks.in/chat/completions/custom`,
headers: {
"Authorization": `${this.albus.$auth.api_key}`,
},
data,
})
},
})