Add multiple workflows with agent to same logic app issue
- Dominant language
- TypeScript
- Stars
- 111
- Forks
- 109
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 20
Description
### Describe the Bug with repro steps
it doesnt really work adding 2 agent workflows in the same logic app or adding 2 agent loops in the same workflow. I have some steps to reproduce below and a workaround to get around it. Think this is just a bit of designer work to do but just putting it on your radar incase your not aware
Steps to reproduce issue:
1. Create a Logic App Standard
2. Add a workflow which is Agent workflow
3. Get the workflow working / configure the action & connector
4. Add another workflow to the Logic App which is an agent workflow
5. Go to the default agent action
6. You can not pick the model and it says there is no connection
7. Because you cant pick the connection you cant configure some of the key model properties on the action
Workaround 1 - Make the 2nd workflow use the existing connection
1. Copy the json from your first workflow
2. Paste it into the 2nd workflow
3. Go to designer mode
4. Everything works
5. Note you are limited to pointing at the same AI instance in all workflows you do this with as in there can only be 1 connector
Workaround 2 - Hack in another connection to a different model
1. Go to the Logic App connections and modify the json to add 2 connectors for the AI
2. Modify the display names of both connectors so you can tell which is which
3. Go back to the workflow json and modify modelConfigurations to point to the other connection changing the reference name
### What type of Logic App Is this happening in?
Standard (Portal)
### Which operating system are you using?
Windows
### Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
### Workflow JSON
```json
```
### Screenshots or Videos
_No response_
### Browser
Edge
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.