MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / select

Method select

gui/utils.py:310–313  ·  view source on GitHub ↗

Select item by index.

(self, index: int)

Source from the content-addressed store, hash-verified

308 return self.selected_index
309
310 def select(self, index: int) -> None:
311 """Select item by index."""
312 if 0 <= index < len(self.items):
313 self._select(index)
314
315 def get_items(self) -> List[str]:
316 """Get all item texts (without icons)."""

Callers 3

input_with_timeoutFunction · 0.80
input_with_timeoutFunction · 0.80
_load_accountsMethod · 0.80

Calls 1

_selectMethod · 0.95

Tested by

no test coverage detected