INNER CODE UNIT · Python

token_limit

adamyodinsky/TerminalGPT · terminalgpt/chat.py:44

    def token_limit(self, token_limit: int):
        self.__token_limit = token_limit

    @property
    def total_usage(self) -> int:
        return self.__total_usage

    @total_usage.setter
    def total_usage(self, total_usage: int):
        self.__total_usage = total_usage

    @property
    def client(self):
        return self.__client

    @client.setter
    def client(self, client: OpenAI):
        self.__client = client

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…