appkit-assistant 1.0.4__py3-none-any.whl → 1.0.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -218,7 +218,7 @@ def web_search_toggle() -> rx.Component:
218
218
  color_scheme=rx.cond(ThreadState.web_search_enabled, "blue", "accent"),
219
219
  padding="8px",
220
220
  margin_right=rx.cond(
221
- ThreadState.selected_model_supports_attachments, "6px", "14px"
221
+ ThreadState.selected_model_supports_attachments, "0px", "8px"
222
222
  ),
223
223
  margin_left="-6px",
224
224
  on_click=ThreadState.toggle_web_search,
@@ -69,7 +69,9 @@ class ThreadListState(rx.State):
69
69
  async def initialize(self) -> AsyncGenerator[Any, Any]:
70
70
  """Initialize thread list - load summaries from database."""
71
71
  async with self:
72
- if self._initialized or self.loading:
72
+ if self._initialized:
73
+ self.loading = False
74
+ yield
73
75
  return
74
76
  self.loading = True
75
77
  yield
@@ -331,6 +331,7 @@ class ThreadState(rx.State):
331
331
  ThreadListState
332
332
  )
333
333
  threadlist_state.loading_thread_id = ""
334
+ yield
334
335
  return
335
336
 
336
337
  try:
@@ -343,6 +344,7 @@ class ThreadState(rx.State):
343
344
  ThreadListState
344
345
  )
345
346
  threadlist_state.loading_thread_id = ""
347
+ yield
346
348
  return
347
349
 
348
350
  # Mark all messages as done (loaded from DB)
@@ -371,6 +373,7 @@ class ThreadState(rx.State):
371
373
  threadlist_state.loading_thread_id = ""
372
374
 
373
375
  logger.debug("Loaded thread: %s", thread_id)
376
+ yield
374
377
 
375
378
  except Exception as e:
376
379
  logger.error("Error loading thread %s: %s", thread_id, e)
@@ -379,6 +382,7 @@ class ThreadState(rx.State):
379
382
  ThreadListState
380
383
  )
381
384
  threadlist_state.loading_thread_id = ""
385
+ yield
382
386
 
383
387
  # -------------------------------------------------------------------------
384
388
  # Prompt and model management
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: appkit-assistant
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: Add your description here
5
5
  Project-URL: Homepage, https://github.com/jenreh/appkit
6
6
  Project-URL: Documentation, https://github.com/jenreh/appkit/tree/main/docs
@@ -37,7 +37,7 @@ appkit_assistant/backend/services/response_accumulator.py,sha256=qiBVsjg3qaKbMQo
37
37
  appkit_assistant/backend/services/system_prompt_builder.py,sha256=EruxjdkccnmaBf8xtAWF1-tL9DoCSkVgT9CkMr9xs7k,2562
38
38
  appkit_assistant/backend/services/thread_service.py,sha256=X7YC-SG18N-f-LhztVAuWJu0Z3z43ATJsLT-N9PAYbM,4730
39
39
  appkit_assistant/components/__init__.py,sha256=XRU-I5HHx9Zf4ROlZKkONTEIRkR8JwQzWELS8xfN1g0,1059
40
- appkit_assistant/components/composer.py,sha256=B6KpK3noUwjS9S0LbN6rlkmBY6ZvoD-Mct1SF7kOh1U,8595
40
+ appkit_assistant/components/composer.py,sha256=l2y01Q3WMLcmMKNqh8kPON4S5u-SYtaNcVvrI_Fuchc,8594
41
41
  appkit_assistant/components/composer_key_handler.py,sha256=KyZYyhxzFR8DH_7F_DrvTFNT6v5kG6JihlGTmCv2wv0,1028
42
42
  appkit_assistant/components/file_manager.py,sha256=LQ8SvvWqCREIDnTXPDnK_bMfuORmVPwi2V841SIFMWY,24919
43
43
  appkit_assistant/components/mcp_oauth.py,sha256=puLwxAhmF25BjnZMdJbKIfC6bFXK2D8LybOX0kD7Ri4,1737
@@ -52,8 +52,8 @@ appkit_assistant/state/file_manager_state.py,sha256=R6KWx23bAiF5-Zo2VRrx7TOVovuQ
52
52
  appkit_assistant/state/mcp_oauth_state.py,sha256=vWiCWolRY-sSUJGPEGHS-rUwlpomGKfpejZck9EImas,7703
53
53
  appkit_assistant/state/mcp_server_state.py,sha256=AHCrEGec33rtfUuKA4ZxLlWFbLGqJcUJSHkhDH0OwTg,13765
54
54
  appkit_assistant/state/system_prompt_state.py,sha256=E2jbBIGfgifvJRZFmEmeooWv5xihUfPbhFe8MzZAS0E,7714
55
- appkit_assistant/state/thread_list_state.py,sha256=LQs7sjBTszORhr_Czm4mZxWVjb2vO7Z5UutMOX6ansM,14082
56
- appkit_assistant/state/thread_state.py,sha256=bzgLS3TqJpDeLGcx9sRx1h4I7ul0jkvJ7V3A5KwDoAc,43520
57
- appkit_assistant-1.0.4.dist-info/METADATA,sha256=GQHz-ioSnZVEqmvsp9so-tIa6ltLg6Mb-U4h_JApFog,9601
58
- appkit_assistant-1.0.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
59
- appkit_assistant-1.0.4.dist-info/RECORD,,
55
+ appkit_assistant/state/thread_list_state.py,sha256=0K_1COSNk7WycY5mE_o15vjPttXq4J27d6zDn0pDiss,14125
56
+ appkit_assistant/state/thread_state.py,sha256=RLVKzRJs1neQHqkZMPI61TdLPY_LPsL4s-EF4jbWuVI,43596
57
+ appkit_assistant-1.0.5.dist-info/METADATA,sha256=hK91qcbK1sN1EPpB1WKvAyE8KkJlRAvfV2cE7ZUxAWo,9601
58
+ appkit_assistant-1.0.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
59
+ appkit_assistant-1.0.5.dist-info/RECORD,,