INNER CODE UNIT · Python

token_limit

adamyodinsky/TerminalGPT · terminalgpt/chat.py:40

    def token_limit(self) -> int:
        return self.__token_limit

    @token_limit.setter
    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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…