Adds a new FeatureType.AiCreditSystem that enables model-based token pricing with per-model markup configuration. Includes the @useautumn/ai-sdk package for Vercel AI SDK integration with automatic token tracking. Co-authored-by: TheUntraceable <73362400+TheUntraceable@users.noreply.github.com>
13 lines
215 B
TypeScript
13 lines
215 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
"sdk/index": "src/index.ts",
|
|
},
|
|
format: ["cjs", "esm"],
|
|
dts: true,
|
|
splitting: false,
|
|
sourcemap: false,
|
|
clean: true,
|
|
});
|