appkit-assistant 0.15.0__py3-none-any.whl → 0.15.1__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.
@@ -105,9 +105,6 @@ class OpenAIResponsesProcessor(BaseOpenAIProcessor):
105
105
  return None
106
106
 
107
107
  event_type = event.type
108
- logger.debug("Event: %s", event)
109
-
110
- # Try different handlers in order
111
108
  handlers = [
112
109
  self._handle_lifecycle_events,
113
110
  lambda et: self._handle_text_events(et, event),
@@ -121,16 +118,15 @@ class OpenAIResponsesProcessor(BaseOpenAIProcessor):
121
118
  for handler in handlers:
122
119
  result = handler(event_type)
123
120
  if result:
124
- content_preview = result.text[:50] if result.text else ""
125
- logger.debug(
126
- "Event %s → Chunk: type=%s, content=%s",
127
- event_type,
128
- result.type,
129
- content_preview,
130
- )
121
+ # content_preview = result.text[:50] if result.text else ""
122
+ # logger.debug(
123
+ # "Event %s → Chunk: type=%s, content=%s",
124
+ # event_type,
125
+ # result.type,
126
+ # content_preview,
127
+ # )
131
128
  return result
132
129
 
133
- # Log unhandled events for debugging
134
130
  logger.debug("Unhandled event type: %s", event_type)
135
131
  return None
136
132
 
@@ -549,7 +545,6 @@ class OpenAIResponsesProcessor(BaseOpenAIProcessor):
549
545
  **(payload or {}),
550
546
  }
551
547
 
552
- logger.debug("Responses API request params: %s", params)
553
548
  return await self.client.responses.create(**params)
554
549
 
555
550
  async def _configure_mcp_tools(
@@ -100,7 +100,7 @@ class ThreadListState(rx.State):
100
100
 
101
101
  # Reset ThreadState
102
102
  thread_state: ThreadState = await self.get_state(ThreadState)
103
- thread_state.new_thread()
103
+ await thread_state.new_thread()
104
104
 
105
105
  if self._initialized:
106
106
  self.loading = False
@@ -239,7 +239,7 @@ class ThreadListState(rx.State):
239
239
  self.active_thread_id = ""
240
240
  # Reset ThreadState to empty thread
241
241
  thread_state: ThreadState = await self.get_state(ThreadState)
242
- thread_state.new_thread()
242
+ await thread_state.new_thread()
243
243
 
244
244
  yield rx.toast.info(
245
245
  f"Chat '{thread_to_delete.title}' gelöscht.",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: appkit-assistant
3
- Version: 0.15.0
3
+ Version: 0.15.1
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
@@ -8,7 +8,7 @@ appkit_assistant/backend/system_prompt_cache.py,sha256=83OIyixeTb3HKOy3XIzPyTAE-
8
8
  appkit_assistant/backend/processors/lorem_ipsum_processor.py,sha256=j-MZhzibrtabzbGB2Pf4Xcdlr1TlTYWNRdE22LsDp9Q,4635
9
9
  appkit_assistant/backend/processors/openai_base.py,sha256=IQS4m375BOD_K0PBFOk4i7wL1z5MEiPFxbSmC-HBNgU,4414
10
10
  appkit_assistant/backend/processors/openai_chat_completion_processor.py,sha256=nTxouoXDU6VcQr8UhA2KiMNt60KvIwM8cH9Z8lo4dXY,4218
11
- appkit_assistant/backend/processors/openai_responses_processor.py,sha256=MWBZsvtqE-knviY_-3km9zgmm7WPno5WDBXcbZHOZjE,28360
11
+ appkit_assistant/backend/processors/openai_responses_processor.py,sha256=W_AHBrX8-gir0kh6oyy72YwlHDQBIDlntNdxgO4NbP8,28180
12
12
  appkit_assistant/backend/processors/perplexity_processor.py,sha256=weHukv78MSCF_uSCKGSMpNYHsET9OB8IhpvUiMfPQ8A,3355
13
13
  appkit_assistant/components/__init__.py,sha256=5tzK5VjX9FGKK-qTUHLjr8-ohT4ykb4a-zC-I3yeRLY,916
14
14
  appkit_assistant/components/composer.py,sha256=F4VPxWp4P6fvTW4rQ7S-YWn0eje5c3jGsWrpC1aewss,3885
@@ -22,8 +22,8 @@ appkit_assistant/components/threadlist.py,sha256=1xVakSTQYi5-wgED3fTJVggeIjL_fkt
22
22
  appkit_assistant/components/tools_modal.py,sha256=12iiAVahy3j4JwjGfRlegVEa4ePhGsEu7Bq92JLn1ZI,3353
23
23
  appkit_assistant/state/mcp_server_state.py,sha256=3AFvy53xx_eLTxw-LfJklPTgq4Ohqu4xs1QlLs-kU4U,11387
24
24
  appkit_assistant/state/system_prompt_state.py,sha256=zdnYrTnl7EszALRiodu6pcuQUd2tmtPG1eJ10j_OotI,7705
25
- appkit_assistant/state/thread_list_state.py,sha256=j_juff-I1PQfvVTDF8OVTp5kiw1kuhyOX9eXDoCBKs0,10238
25
+ appkit_assistant/state/thread_list_state.py,sha256=DEOR5Nklj1qfYaxSRMXCZdZRv2iq2Jb37JSg739_wL4,10250
26
26
  appkit_assistant/state/thread_state.py,sha256=3LNnEmdp6oU8npt1MEUBYA31cdF-QAP_-Nfh7sVCEFQ,38735
27
- appkit_assistant-0.15.0.dist-info/METADATA,sha256=CF3zVOvepmSBULI1nv-4BmP8eRSfbjYvtGZ4CbwMEZE,9403
28
- appkit_assistant-0.15.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
29
- appkit_assistant-0.15.0.dist-info/RECORD,,
27
+ appkit_assistant-0.15.1.dist-info/METADATA,sha256=GC_7LbC349aBKoylne3lYED40EY-Ynz2ZVjlT1ZVnGY,9403
28
+ appkit_assistant-0.15.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
29
+ appkit_assistant-0.15.1.dist-info/RECORD,,