Skip to content

tools.length read properties of undefined #155

Description

@ramirobg94

Description

When using the runner I have this error:

node_modules/@baseai/core/src/pipes/pipes.ts:191

TypeError: Cannot read properties of undefined (reading 'length')

if (tools.length) {

Code example

No response

Additional context

No response

Activity

  1. mwong-12 commented on Apr 17, 2025

    @mwong-12

    Same issue when trying to run the basic example.

    Looks like it is failing here with an empty array provided :
    if (tools.length)
    I suspect this should be
    if(tools.length>0) ?

    I can't get any of the examples working because of this so I am giving up unfortunately.

  2. themadeye commented on Apr 17, 2025

    @themadeye

    Same issue here when I'm trying to run some examples. Hope the team will look into this, it's blocking our learning path so far.

  3. stevahnes commented on Apr 25, 2025

    @stevahnes

    I encountered the same issue. I think the Langbase team decided to focus on the langbase package instead of BaseAI. I was able to deploy my pipe and memory after moving to langbase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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