Commit 40ad4c9
Address PR feedback: simplify TryGetOuterToolExecutionActivity, remove comments, use pattern matching
- Invert if statement in TryGetOuterToolExecutionActivity to avoid multiple return false
- Remove "Per MCP" comment in McpSessionHandler
- Use pattern matching `is "tcp"` instead of `== "tcp"`
- Remove redundant DisplayName setting (StartActivity already sets it via CreateActivityName)
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>1 parent 44cf972 commit 40ad4c9
2 files changed
Lines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 108 | + | |
| 109 | + | |
116 | 110 | | |
| 111 | + | |
117 | 112 | | |
118 | 113 | | |
119 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
| |||
666 | 664 | | |
667 | 665 | | |
668 | 666 | | |
669 | | - | |
| 667 | + | |
670 | 668 | | |
671 | 669 | | |
672 | 670 | | |
| |||
684 | 682 | | |
685 | 683 | | |
686 | 684 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | 685 | | |
693 | 686 | | |
694 | 687 | | |
| |||
0 commit comments