anthropics / anthropics/claude-quickstarts

Computer use demo on AWS Bedrock

Aperta
#281 4 commenti 1 reazione 0 assegnatari Vedi su GitHub
bedrock bug computer use priority-high
Lingua principale
TypeScript
Stelle
17.6k
Fork
3k
Merge medio
5h 13m
PR unite (30g)
3

Descrizione

After running the demo container I get this error.

Here's the error:
```
anthropic.BadRequestError: Error code: 400 - {'message': 'Malformed input request: #: subject must not be valid against schema {"required":["messages"]}#/tools/1/type: text_editor_20250429 is not a valid enum value#/tools/1/type: #/tools/1: required key [display_height_px] not found#/tools/1: required key [display_width_px] not found#/tools/1/name: #/tools/1/name: str_replace_editor is not a valid enum value#/tools/1/type: #/tools/1/type: text_editor_20250429 is not a valid enum value#/tools/1/name: #/tools/1/name: str_replace_editor is not a valid enum value#/tools/1/type: #/tools/1/type: text_editor_20250429 is not a valid enum value#/tools/1: required key [input_schema] not found#/tools/1/type: expected: null, found: String#/tools/1/type: #/tools/1/type: text_editor_20250429 is not a valid enum value#/tools/2/name: #/tools/2/name: bash is not a valid enum value#/tools/2/type: bash_20250124 is not a valid enum value#/tools/2/type: #/tools/2: required key [display_height_px] not found#/tools/2: required key [display_width_px] not found#/tools/2/name: #/tools/2/name: bash is not a valid enum value#/tools/2/type: #/tools/2/type: bash_20250124 is not a valid enum value#/tools/2/type: #/tools/2/type: bash_20250124 is not a valid enum value#/tools/2: required key [input_schema] not found#/tools/2/type: expected: null, found: String#/tools/2/type: #/tools/2/type: bash_20250124 is not a valid enum value, please reformat your input and try again.'}
```

the used command to run the container:
```
docker run \
-e API_PROVIDER=bedrock \
-e AWS_PROFILE=$AWS_PROFILE \
-e AWS_REGION=us-west-2 \
-v $HOME/.aws:/home/computeruse/.aws \
-v $HOME/.anthropic:/home/computeruse/.anthropic \
-p 5900:5900 \
-p 8501:8501 \
-p 6080:6080 \
-p 8080:8080 \
-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.