Files
Athena-Deck/integrations/openwebui-thinking/thinking_toggle.py
T

13 lines
344 B
Python

"""
title: Thinking
version: 1.0.0
description: Chat switch for Athena Qwen thinking; paired with Athena Thinking Control.
"""
class Filter:
def __init__(self):
self.toggle = True
async def inlet(self, body: dict) -> dict:
# Selection is read by the paired request filter, including every tool hop.
return body