Alexandre
Alexandre2w ago

intellisense

Hi Guys! I'm trying to create a simple Python script: from agno.agent import Agent def main(): agno_agent = Agent( ) return "Test" It runs correctly, but I don't have intellisense on the type Agent (variable agno_agent), the web IDE says that the type is "unknown" Is it normal? The web IDE doesn’t recognize the type? Am I missing something?
4 Replies
rubenf
rubenf2w ago
Where is that type defined
Alexandre
AlexandreOP2w ago
Agno is a pip package "In Windmill standard mode, dependencies in Python are handled directly within their scripts without the need to manage separate dependency files" So, I just did the import in the script, the code runs! But no intellisense
rubenf
rubenf2w ago
it's possible intellisense is unable to download dynamically that package (or more accurately the pyright in the lsp server)
Alexandre
AlexandreOP2w ago
i'm testing on Windmill cloud, is that anything that I can try to make this work?

Did you find this page helpful?