Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

bf luis:build not handling throttling issues #697

@timotheeguerin

Description

@timotheeguerin

Versions

What CLI version are you using.
@microsoft/botframework-cli/4.8.0 win32-x64 node-v12.13.0
What Nodejs version are you using
v12.13.0
What command-line interpreters are you using

bf luis:build --luConfig $luisConfigFile --authoringKey $authoringKey --suffix $environment --log --force

What OS are you using
Windows 10

Describe the bug

When running bf luis:build with a few luis config files it fails to run the calls as it get throttled

Requests to the versions - Delete application version Operation under LUIS Programmatic APIs v3.0-preview have exceeded rate limit of your current LUIS.Authoring F0 pricing tier. Please retry after 1 second. To increase your rate limit switch to a paid tier.

Don't find a way to upgrade the authoring resource either in Azure. Only option is the free one(For authoring resource).

Believe the cli should at least wait and retry after when the throttling has reset(next second in this case)

To Reproduce

Run bf luis:build with a config file with a few lu

"models": [
    "luis.lu",
    "loc/de-DE/luis.lu",
    "loc/es-ES/luis.lu",
    "loc/es-MX/luis.lu",
    "loc/fr-CA/luis.lu",
    "loc/fr-FR/luis.lu",
    "loc/it-IT/luis.lu",
    "loc/nl-NL/luis.lu",
    "loc/zh-CN/luis.lu"
  ]

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

[bug]

Metadata

Metadata

Labels

R9Release 9 - May 15th, 2020lunon luis api commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions