You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
This might be a Typescript config issue with a fresh project, but when I tried the getting started, I was getting an error displayed in my editor. When I ran bun example.ts it worked just fine.
I would have thought TS would have inferred the type. In any case, the following made it go away.
const gen = new AxChainOfThought<{ textToSummarize: string }>(`textToSummarize -> shortSummary "summarize in 5 to 10 words"`);
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
I verified my Typescript was up to date, etc. ^5.7.2
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
This might be a Typescript config issue with a fresh project, but when I tried the getting started, I was getting an error displayed in my editor. When I ran
bun example.ts
it worked just fine.I would have thought TS would have inferred the type. In any case, the following made it go away.
I verified my Typescript was up to date, etc.
^5.7.2
The text was updated successfully, but these errors were encountered: