Skip to content

[BUG]: The response-file does not exist #99

@FidelusAleksander

Description

@FidelusAleksander

I'm getting errors accessing the response-file - seems like it does not exist.

You can even see it in the tests that silently pass in this repository https://github.com/actions/ai-inference/actions/runs/17200753887/job/48790733430

I'm guessing that it's because of the temporary file solution here - isn't this file automatically destroyed when the program exits? Therefore making the response-file output pointing to a file that does not exist after the action completes.

Proposed solution

    const workspace = process.env['GITHUB_WORKSPACE'] || process.cwd()
    const responseFilePath = path.join(workspace, 'modelResponse-{random-string}.txt')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions