assistant2: Don't suggest thread context for inline assist without a ThreadStore
(#23506)
This PR makes it so we don't suggest threads as context in the inline assist when we don't have a `ThreadStore` to pull from. Release Notes: - N/A
This commit is contained in:
parent
ecf70db7f0
commit
82cee9e9a4
4 changed files with 15 additions and 6 deletions
|
@ -259,7 +259,7 @@ impl ActiveThread {
|
|||
h_flex().flex_wrap().gap_1().px_1p5().pb_1p5().children(
|
||||
context
|
||||
.into_iter()
|
||||
.map(|context| ContextPill::new_added(context, false, false, None)),
|
||||
.map(|context| ContextPill::added(context, false, false, None)),
|
||||
),
|
||||
)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue