Skip to content

Can't run script from the latest version of VSCode Extension #1438

@joheredi

Description

@joheredi

I'm trying to run a simple script from the quick start guide

script({
    model: "azure:o3-mini"
})
$`Write a short poem in code.`

When I execute "Run GenAIScript..." The trace window shows "TypeError [ERR_INVALID_ARG_TYPE] The "path" argument must be of type string. Received undefined"

Image

CLI works fine npx genaiscript run poem

Also installed an older version of the extension and works fine.

System:
VSCode Insiders
WSL2 Ubuntu

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingvscodeAssociated with the genaiscript-vscode VS Code Extension

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions