Skip to content

Openapi tool - Do not prompt users to confirm for listOperationsDigitaloceanApi and getSchemaDigitaloceanApi calls #702

@sangee2004

Description

@sangee2004

gptscript version v0.0.0-dev-c8cf3106-dirty

Steps to reproduce the problem:
PreReq - set following variables

export GPTSCRIPT_OPENAPI_REVAMP=true
export GPTSCRIPT_API_DIGITALOCEAN_COM_BEARER_AUTH=***
  1. Execute the following DO agent openapi tool
tools: https://raw.githubusercontent.com/gptscript-ai/digital-ocean-agent/main/openapi.yaml
Chat: true

You are a good assistant .Wait for user to ask you a question.
  1. Ask it to list all droplets

Notice that you will be promoted for allowing the following calls:
listOperationsDigitaloceanApi{}
getSchemaDigitaloceanApi{}
runOperationDigitaloceanApi {"operation":"droplets_list","args":"{}"}

Expected Behavior:
There should be no need for asking users to confirm for listOperationsDigitaloceanApi{} and getSchemaDigitaloceanApi{} .

Also the output for listOperationsDigitaloceanApi{} is very large.

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