Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Žiga Patačko Koderman <[email protected]>
  • Loading branch information
matejm and zigapk authored Apr 16, 2024
1 parent 78173ed commit dc9f106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const { input, messages, isLoading, handleSubmit, onInputChange } = useChat({
});
```

If tool doesn't need to do any async operations as you expect the AI model to return all the required data to render the component, you can use a simple function that returns a component:
If tool doesn't need to do any async operations as you expect the AI model to return all the required data to render the component, you can use a simple function that returns the data and the component:

```ts
tools: {
Expand Down

0 comments on commit dc9f106

Please sign in to comment.