mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-20 14:28:54 +00:00
@@ -1,4 +1,5 @@
|
||||
"""Argparser for overriding config values"""
|
||||
|
||||
import argparse
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
This method of authorization is pretty insecure, but since TabbyAPI is a local
|
||||
application, it should be fine.
|
||||
"""
|
||||
|
||||
import secrets
|
||||
import yaml
|
||||
from fastapi import Header, HTTPException
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Functions for logging generation events.
|
||||
"""
|
||||
|
||||
from pydantic import BaseModel
|
||||
from loguru import logger
|
||||
from typing import Dict, Optional
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Small replication of AutoTokenizer's chat template system for efficiency"""
|
||||
|
||||
import json
|
||||
import pathlib
|
||||
from functools import lru_cache
|
||||
|
||||
Reference in New Issue
Block a user