Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run examples with ollama or gemini #80

Open
sanguino opened this issue Jan 3, 2025 · 0 comments
Open

Can't run examples with ollama or gemini #80

sanguino opened this issue Jan 3, 2025 · 0 comments

Comments

@sanguino
Copy link

sanguino commented Jan 3, 2025

  • 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

I was unable to successfully execute any examples using gemini or ollama. I tried changing the ollama path as suggested in another issue, but in both cases, I encountered the same issue. For example, when running the agents or chain of thought examples, I frequently see this message:
User: Instructions: Output must include: Reason:, Answer:
But eventually, it ends with the following error:

throw new Error(`Unable to fix validation error: ${err?.message}`);
      ^

Error: Unable to fix validation error: Output must include: `Reason:`, `Answer:`
  • 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.)

This issue occurs consistently with the provided examples. I attempted to follow solutions mentioned in related issues but was unable to resolve the problem. Additional context or suggestions to fix this would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant