Skip to content

Prompty runs well in 'Test' mode but not with 'Open test chat page' #13

@BethanyJep

Description

@BethanyJep

🐛 Bug Description
Testing my prompt using prompty 'Test' (F5) is working correctly, but if I test the same with the 'testChat page', I get an error.

The model parameters

model:
api: chat
configuration:
type: openai
name: gpt-4o
base_url: "${env:OPENAI_BASE_URL}"
api_key: "${env:OPENAI_API_KEY}"

.env file
OPENAI_API_KEY=sk-....
OPENAI_ORG_ID=

PS. The editor says that the api_key parameter is not allowed

The prompt test with F5:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtool:cliIssues with the command-line interface for Prompty

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions