mirror of
https://github.com/hanzoai/browser.git
synced 2026-10-30 18:46:34 +00:00
2. Gemini does not allow to send message with empty content 3. Ignore any input generated by LLM if the schema only has an empty object argument 4. Occasionally validator fall into a failure loop, fix it by re-planning 5. Update model settings to add Gemini models, and claude 3.7
15 lines
338 B
JavaScript
15 lines
338 B
JavaScript
import esbuild from 'esbuild';
|
|
|
|
/**
|
|
* @type { import('esbuild').BuildOptions }
|
|
*/
|
|
const buildOptions = {
|
|
entryPoints: ['./index.ts', './lib/**/*.ts', './lib/**/*.tsx', './examples/**/*.ts'],
|
|
tsconfig: './tsconfig.json',
|
|
bundle: false,
|
|
target: 'es6',
|
|
outdir: './dist',
|
|
sourcemap: true,
|
|
};
|
|
|
|
await esbuild.build(buildOptions);
|