Skip to content

Issue of ChatMessage when deploy to vercel #4

@XiaoruiZhu

Description

@XiaoruiZhu

Hi humanloop,

I really appreciate your great product but it cannot be built when upgrade the humanloop to 0.6.0

humanloop:
specifier: ^0.6.0-alpha.10
version: 0.6.0-alpha.10([email protected])

It shows:

Linting and checking validity of types ..Failed to compile.

./app/api/chat/route.ts:1:21
Type error: Module '"humanloop"' has no exported member 'ChatMessage'.

> 1 | import { Humanloop, ChatMessage } from "humanloop";

Can you please help with this? It seems the "ChatMessage" has been retired in the 0.6.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions