diff --git a/lib/services/http_service_impl.ts b/lib/services/http_service_impl.ts new file mode 100644 index 0000000..3b00be8 --- /dev/null +++ b/lib/services/http_service_impl.ts @@ -0,0 +1 @@ +// TODO: implement the http service \ No newline at end of file diff --git a/lib/services/http_service.ts b/lib/types/http_service.ts similarity index 100% rename from lib/services/http_service.ts rename to lib/types/http_service.ts diff --git a/tests/services/mock_http_service.ts b/tests/services/mock_http_service.ts index 2bd3714..69b9230 100644 --- a/tests/services/mock_http_service.ts +++ b/tests/services/mock_http_service.ts @@ -16,10 +16,9 @@ import { STREAM_ANSWER_KEY, STREAM_METADATA_KEY, } from '@appflowy-chat/types/ai'; -import { ChatHttpService } from '@appflowy-chat/services/http_service'; import { ChatError } from '@appflowy-chat/types/error'; import { ErrorCode } from '@appflowy-chat/types/error'; - +import { ChatHttpService } from '@appflowy-chat/types/http_service'; class MockChat { settings: ChatSettings; messages: ChatMessage[];