Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -2,6 +2,8 @@ from smolagents import CodeAgent, LiteLLMModel, tool, load_tool, DuckDuckGoSear
|
|
2 |
import asyncio
|
3 |
import os
|
4 |
import re
|
|
|
|
|
5 |
import yaml
|
6 |
from PIL import Image
|
7 |
import requests
|
|
|
2 |
import asyncio
|
3 |
import os
|
4 |
import re
|
5 |
+
from typing import Optional
|
6 |
+
from token_bucket import Limiter
|
7 |
import yaml
|
8 |
from PIL import Image
|
9 |
import requests
|