Checking WIP Agent Movement Workflow
This commit is contained in:
@@ -6,7 +6,15 @@ from textual.containers import Horizontal, Vertical
|
||||
from textual.css.query import NoMatches
|
||||
from textual.message import Message
|
||||
from textual.widget import Widget
|
||||
from textual.widgets import Button, SelectionList, Static, Switch, TextArea
|
||||
from textual.widgets import (
|
||||
Button,
|
||||
Footer,
|
||||
Header,
|
||||
SelectionList,
|
||||
Static,
|
||||
Switch,
|
||||
TextArea,
|
||||
)
|
||||
|
||||
from models.agent import Agent
|
||||
|
||||
@@ -31,6 +39,7 @@ class MultiAgentSelector(Widget):
|
||||
self._match_type = value
|
||||
|
||||
def compose(self):
|
||||
yield Header(show_clock=True, icon="⚙")
|
||||
title_text = Static("🖧 Multi-Agent Selector", id="selector_title")
|
||||
title_text.styles.margin = (0, 0, 0, 1)
|
||||
yield title_text
|
||||
@@ -98,6 +107,7 @@ class MultiAgentSelector(Widget):
|
||||
right_pane.styles.width = "2fr"
|
||||
yield SelectionList(id="match_results")
|
||||
yield Static(id="unmatched_label")
|
||||
yield Footer()
|
||||
|
||||
def on_switch_changed(self, event: Switch.Changed):
|
||||
self.match_type = "fuzzy" if event.value else "exact"
|
||||
|
||||
Reference in New Issue
Block a user