Skip to content

Roo goes into a loop when handling json #1066

Open
@myevolve

Description

Which version of the app are you using?

3.3.21

Which API Provider are you using?

Anthropic

Which Model are you using?

Google Gemini/Gemini 2.0 pro exp 0205

What happened?

Roo runs command against api to get json response for token, the response below in terminal:

{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0dXNlciIsInNjb3BlcyI6WyJ1c2VyIl0sImV4cCI6MTczOTk1NDkxMX0.Rl6bnYYYVnnDysR1VjS0AdZzxdUyaJ5OKJjnNcmAry0","token_type":"bearer"}%

response from roo:
The login request returned: `{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0dXNlciIsInNjb3BlcyI6WyJ1c2VyIl0sImV4cCI6MTczOTk1ODExMX0.9qT-hZJ5-Xm-w-d_0fGZzJ_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_5_

I have to cancel the task as it will just keep going.

Steps to reproduce

% curl -X P
OST -d "username=testuser&password=testpassword" http://127.0.0.1:8000/api
/users/login

Relevant API REQUEST output

{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0dXNlciIsInNjb3BlcyI6WyJ1c2VyIl0sImV4cCI6MTczOTk1NDkxMX0.Rl6bnYYYVnnDysR1VjS0AdZzxdUyaJ5OKJjnNcmAry0","token_type":"bearer"}

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions