Skip to content

Credentials - parsing error when running gptscript with tools that have credentials. #237

Closed
@sangee2004

Description

@sangee2004

gptscript version v0.0.0-dev-f4284f43-dirty

Steps to reproduce the problem:

  1. Run the following gptscript that uses a tool with credentials.
Tools: github.com/sangee2004/slack

search messages in slack and list all messages that have mentioned Disney in the past month
  1. I am prompted to enter the slack token as expected and tool executes successfully.
  2. Run the gptscript again.

This fails with the following parsing error:

09:39:34 started  [main]
09:39:35 sent     [main]
2024/04/12 09:39:35 failed to get credentials for tool slack-credential-tool: error parsing tool name and context "". Tool names cannot contain '///'

Note - Once I remove the config.json that stores the credentials , then I am able to execute the script again.

Metadata

Metadata

Assignees

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