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

Roo Code get stuck in an infinite loop while using the API OpenRouter for Perplexity Sonar R1. #655

Open
it-sha opened this issue Jan 30, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@it-sha
Copy link

it-sha commented Jan 30, 2025

Which version of the app are you using?

v3.3.6

Which API Provider are you using?

OpenRouter

Which Model are you using?

perplexity/sonar-reasoning

What happened?

Roo Code get stuck in an infinite loop while using the API OpenRouter for Perplexity Sonar R1.
Cline shows error message after first loop even with [v] auto approve

Steps to reproduce

  1. select API perplexity/sonar-reasoning
  2. set Ask mode
  3. set Auto-approve
  4. type When I add a new row to the AG grid table, the scroll on the table automatically scrolls to top. How to prevent that? How to fix that?
  5. see infinite loop with same reasoning and answer messages

Relevant API REQUEST output

<task>
When I add a new row to the AG grid table, the scroll on the table automatically scrolls to top. How to prevent that? How to fix that?
</task>

<environment_details>
# VSCode Visible Files
src/components/DataTable.vue

# VSCode Open Tabs
src/components/DataTable.vue
src/views/HomeView.vue

# Current Time
1/30/2025, 12:28:41 PM (UTC+4:00)

# Current Context Size (Tokens)
(Not available)

# Current Mode
ask

# Current Working Directory (d:/projects/_Learning/vue3-playground-2024-11) Files
.aider.conf.yml
.editorconfig
.gitignore
.prettierrc.json
env.d.ts
eslint.config.js
index.html
package-lock.json
package.json
postcss.config.js
README.md
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.node.json
tsconfig.vitest.json
vite.config.ts
vitest.config.ts
docs/
docs/instructions.md
public/
public/favicon.ico
server/
server/db.json
src/
src/App.vue
src/main.ts
src/assets/
src/assets/base.css
src/assets/logo.svg
src/assets/main.css
src/components/
src/components/DataTable.vue
src/components/HelloWorld.vue
src/components/__tests__/
src/components/__tests__/HelloWorld.spec.ts
src/components/icons/
src/components/icons/IconCommunity.vue
src/components/icons/IconDocumentation.vue
src/components/icons/IconEcosystem.vue
src/components/icons/IconSupport.vue
src/components/icons/IconTooling.vue
src/router/
src/router/index.ts
src/stores/
src/stores/counter.ts
src/types/
src/types/types.ts
src/views/
src/views/AboutView.vue
src/views/HomeView.vue
src/views/test.ts
</environment_details>

Additional context

No response

@it-sha it-sha added the bug Something isn't working label Jan 30, 2025
@Szpadel
Copy link

Szpadel commented Jan 30, 2025

I tested perplexity/sonar-reasoning with a bunch of parameters and I had bad time to convince it to follow instructions
when model decided it wanted to do some edit I was unable to convince it to do anything else.

It looked like it works fine for first response, but basically ignore all further conversation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants