Skip to content

[BUG] After update to 3.34.5 #9611

@Lissanro

Description

@Lissanro

Problem (one or two sentences)

After upgrade to 3.34.5 , I start getting these errors when the model tries to create new file in Code mode (at the same time, it can create md files in Architect mode):

Error
Error handling partial write_to_file:
ENOENT: no such file or directory, open '/home/project/components/VerificationButton.tsx'

Context (who is affected and when)

I think the Code mode is affected by this bug.

Reproduction steps

Install 3.34.5 and tell the model to create a new file in Code mode.

Expected result

The model creates new file and writes to it

Actual result

The model fails to create a new file

Variations tried (optional)

I tried few times, including letting the model switch to Code mode by itself, or manually. I also tried to create a new task in case something was messing it up in old one. The only thing that helped was downgrade to 3.34.2. I only tried 3.34.2 (works) and 3.34.5 (fails), so likely some change between them caused the issue.

App Version

3.34.5

API Provider (optional)

OpenAI Compatible

Model Used (optional)

Kimi K2 0905

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

token   9413: 'Let'
token   1019: ' me'
token   2819: ' create'
token    276: ' the'
token 106824: ' Verification'
token   4895: 'Button'
token   8183: ' component'
token    306: ' in'
token    276: ' the'
token   6644: ' correct'
token   5802: ' location'
token   5292: ':

'
token     27: '<'
token   8124: 'write'
token   4585: '_to'
token   6101: '_file'
token    719: '>
'
token     27: '<'
token   4953: 'path'
token     29: '>'
token   6435: 'src'
token  23991: '/components'
token     14: '/'
token  64236: 'Verification'
token   4895: 'Button'
token 158213: '.tsx'
token    993: '</'
token   4953: 'path'
token    719: '>
'
token     27: '<'
token   4204: 'content'
token    719: '>
'
token  53571: '"use'
token   4610: ' client'
...
(the model continues to generate tokens despite the error in Roo Code, and even if I let it complete, at the end there is still no file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions