Brandon

Results 3 issues of Brandon

node:internal/errors:497 ErrorCaptureStackTrace(err); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined at Object.writeFileSync (node:fs:2281:5) at minify (C:\blog\free\package_abridge.js:275:6) at...

windows

I just fixed a problem with my library due to this, where text/json isn't accepted and silently fails. It seems application/json is the offical MIME type. I saw support was...

``` using Mscc.GenerativeAI.Web; var builder = WebApplication.CreateBuilder(args); builder.Services.AddGenerativeAI(builder.Configuration.GetSection("Gemini")); var app = builder.Build(); app.MapGet("/", async (IGenerativeModelService service) => { var result = await service.GenerateContent("Write about the history of Mauritius."); return result.Text;...

documentation