fix: Remove billing and related flow

This commit is contained in:
Harsh Gupta (aider) 2024-08-14 13:49:46 +05:30
parent 6c17175c43
commit 6804b99533

View File

@ -3,7 +3,6 @@ import {
RPCHost, RPCReflection,
HashManager,
AssertionFailureError, ParamValidationError, Defer,
} from 'civkit';
import { singleton } from 'tsyringe';
import { AsyncContext, CloudHTTPv2, FirebaseStorageBucketControl, Logger, OutputServerEventStream, RPCReflect } from '../shared';
@ -17,8 +16,6 @@ import { Crawled } from '../db/crawled';
import { cleanAttribute } from '../utils/misc';
import { randomUUID } from 'crypto';
// Mock implementation of estimateToken
const estimateToken = (text: string) => Math.ceil(text.length / 4);
import { CrawlerOptions, CrawlerOptionsHeaderOnly } from '../dto/scrapping-options';
import { PDFExtractor } from '../services/pdf-extract';