Lars Grammel

Results 105 comments of Lars Grammel

I'm exploring https://github.com/vercel/ai/pull/828 for this. You can just change `key` to reset (see test case)

With Ollama, you need to specify how you go from text output to tools. There are some examples here: https://github.com/lgrammel/modelfusion/tree/main/examples/basic/src/model-provider/ollama E.g.: ```ts const { tool, args, toolCall, result } =...

In `v3.0.14`, we added 2 experimental functions for the object generation use case: - `experimental_generateObject` - `experimental_streamObject` You can find examples here: https://github.com/vercel/ai/tree/main/examples/ai-core/src

@suryasanchez great example! I'll think about how we can integrate something along those lines. Here is an example of using `streamObject` with RSCs for incremental rendering: https://github.com/vercel/ai/tree/main/examples/next-ai-rsc/app/stream-object

@OliverJAsh I think it is a vscode setting that e.g. runs all ESLint fixes automatically when you save a file. ![image](https://github.com/p42ai/js-assistant/assets/205036/e2ffda4b-63bf-4a3a-8bea-e0f52e025f29) It might automatically get picked up by VS Code...

@7flash thanks for reporting the issue! I'm not too familiar with Deno. From your report, my sense is that ideally modelfusion should work with deno-esbuild. Can you tell me the...

https://github.com/colinhacks/zod/issues/2991 is not a Zod error. ModelFusion contains something called `ZodSchema` as well (I want to change the name to disambiguate, but haven't come up with a better name yet)....

@7flash yes, you can use `new UncheckedSchema` (see https://github.com/lgrammel/modelfusion/blob/main/examples/basic/src/util/schema/generate-structure-unchecked-json-schema-example.ts for an example). This will not do any validation on the structure of the result tho, just cast it (which could...

> @lgrammel that's amazing, and here just recorded a demo of visual agent editor I am building with modelfusion: https://youtu.be/V-rI_ughijw Pretty cool! Do you have an open source project or...