Skip to content

Docs for local deployment need updating #36

Description

@peterbjohnson

https://github.com/lambda-feedback/user-documentation/blob/main/docs/advanced/evaluation_functions/local.md

Trying to follow these docs locally in a repo, Claude came up with this:

The docs page you linked describes the older Lambda-runtime path and wrapped body, which this image rejects with a validation error. This repo uses the Shimmy base image, so the shape is:

URL: POST http://localhost:9000/
Header: command: eval (or preview, healthcheck)
Body: bare {"response": ..., "answer": ..., "params": {...}}
Response: {"command": "eval", "result": {"is_correct": ..., "feedback": "..."}}

Looks like the docs need updating for Shimmy usage?

Activity

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

Metadata

Metadata

Assignees

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