microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5.37k stars 690 forks source link

Issue when trying to enable tracing #416

Closed dasuni1999 closed 2 months ago

dasuni1999 commented 2 months ago

Hi, When I add the following piece of code in the taskweaver_config.json file: "tracing.enabled": true, "tracing.exporter": "otlp", "tracing.endpoint": "http://127.0.0.1:4317", "tracing.tokenizer_target_model": "gpt-4"

I'm getting the following error.

.ConnectTimeout: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url: /encodings/cl100k_base.tiktoken image

Can someone suggest a reason for this error to occur?

liqul commented 2 months ago

It seems the tokenizer, i.e., tiktoken, failed to download its configuration file. Can you make sure that you environment has no problem of internet access?