Currently, the initialization of AgentScope import agentscope is very slow. So I checked the execution time of all files and move the parts which take the most time to where they're used.
FYI: The top-3 that take the most time are:
import litellm
import llama-index
import openai
Checklist
Please check the following items before code is ready to be reviewed.
[x] Code has passed all tests
[x] Docstrings have been added/updated in Google Style
Description
Currently, the initialization of AgentScope
import agentscope
is very slow. So I checked the execution time of all files and move the parts which take the most time to where they're used.FYI: The top-3 that take the most time are:
Checklist
Please check the following items before code is ready to be reviewed.