microsoft / teams-ai

SDK focused on building AI based applications and extensions for Microsoft Teams and other Bot Framework channels
MIT License
415 stars 181 forks source link

[Dev support]: Can't debug individual function calls #2063

Open stokedout opened 2 weeks ago

stokedout commented 2 weeks ago

Please be sure to check the Discussions Q&A section before filing a new question.

Question

How can I debug the function calls made by this sample? If I add breakpoints to the method body of each of the @app.ai.action("...") nothing happens https://github.com/microsoft/teams-ai/blob/main/python/samples/04.ai.d.chainedActions.listBot/src/bot.py#L74-L123

Code snippets

What you have tried already

I've tried typing only "LightsOn" or "LightsOff" and also enabled debug over more code than just my own following this SO post

Note: please use this template to file your questions regarding implementation. Once your question is answered, our team will move this question to Q&A in Discussions for findability.

stokedout commented 2 weeks ago

To add a little more context, I want to have two prompts, one for clarifying the user question and a second for generating SQL and fetching data from a database. Perhaps you could advise if this should be tools, sequence or chain etc