Describe the bug
When I instruct TaskWeaver to use yahooquery to pull stock prices in the Playground UI running in a docker container, it is unable to reliably do so
To Reproduce
Steps to reproduce the behavior:
Start the Playground web UI
Type the user query "Use yahooquery to get the last 1 year of closing prices for NVIDIA. Plot a chart of the closing prices"
Wait for the response
Type the user query "It appears that the 'yahooquery' module is not persisting in the environment despite the reinstallation attempt. This could be due to the execution environment's restrictions, which may not allow permanent installations of new packages, or the environment may reset after each execution."
See error
Expected behavior
Telling TaskWeaver directly to install yahooquery via prompt does succeed. However, subsequent interactions requiring the module fail. For some reason, yfinance works
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Information (please complete the following information):
OS: Linux (inside a Docker container)
Python Version Python 3.10
LLM that you're using: GPT-4 (Azure OpenAI)
Other Configurations except the LLM api/key related: [e.g., code_verification: true]
Additional context
Running this inside a Docker container in a k8s cluster.
Describe the bug When I instruct TaskWeaver to use
yahooquery
to pull stock prices in the Playground UI running in a docker container, it is unable to reliably do soTo Reproduce Steps to reproduce the behavior:
Expected behavior Telling TaskWeaver directly to install
yahooquery
via prompt does succeed. However, subsequent interactions requiring the module fail. For some reason,yfinance
worksScreenshots If applicable, add screenshots to help explain your problem.
Environment Information (please complete the following information):
Additional context Running this inside a Docker container in a k8s cluster.