Skip to content

help: using aimock in terminal #112

@janiussyafiq

Description

@janiussyafiq

Currently I want to have a mock LLM endpoint that I can call to test my API gateway, but running any of these doesn't seem to work (no output):

# LLM mocking only
npx aimock -p 4010 -f ./fixtures

# Full suite from config
npx aimock --config aimock.json

# Record mode: proxy to real APIs, save fixtures
npx aimock --record --provider-openai https://api.openai.com

# Convert fixtures from other tools
npx aimock convert vidaimock ./templates/ ./fixtures/
npx aimock convert mockllm ./config.yaml ./fixtures/

Is there any additional set up I need to do? Thanks!

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