Azure / Vector-Search-AI-Assistant

Microsoft Official Build Modern AI Apps reference solutions and content. Demonstrate how to build Copilot applications that incorporate Hero Azure Services including Azure OpenAI Service, Azure Container Apps (or AKS) and Azure Cosmos DB for NoSQL with Vector Search.
MIT License
132 stars 68 forks source link

tokens used not always updating in left-nav #8

Closed markjbrown closed 8 months ago

markjbrown commented 9 months ago

The value for total tokens used in the left nav is not always getting updated in the left-nav in web app. Works when running debug mode. does sometimes update though so not sure why this is happening. I left the app over the weekend then came back and refreshed and was working again. I suspect the event that causes refresh in Blazor is not getting fired or caught.

Not working in deployment.

left-nav-tokens

Working in local debug

left-nav-tokens-debug
markjbrown commented 8 months ago

Following up. This is/was caused due to OpenAI being throttled from lack of quota on tokens. Once quota is increased the behavior went away.