mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-20 15:38:09 +02:00
Merge pull request #1450 from JGalego/feat/bedrock-update
feat(bedrock): Temporary AWS credentials via env vars + supported models update
This commit is contained in:
commit
8f34c746a7
5 changed files with 178 additions and 60 deletions
|
|
@ -3,7 +3,7 @@ import json
|
|||
import pytest
|
||||
|
||||
from metagpt.provider.bedrock.utils import (
|
||||
NOT_SUUPORT_STREAM_MODELS,
|
||||
NOT_SUPPORT_STREAM_MODELS,
|
||||
SUPPORT_STREAM_MODELS,
|
||||
)
|
||||
from metagpt.provider.bedrock_api import BedrockLLM
|
||||
|
|
@ -14,7 +14,7 @@ from tests.metagpt.provider.req_resp_const import (
|
|||
)
|
||||
|
||||
# all available model from bedrock
|
||||
models = SUPPORT_STREAM_MODELS | NOT_SUUPORT_STREAM_MODELS
|
||||
models = SUPPORT_STREAM_MODELS | NOT_SUPPORT_STREAM_MODELS
|
||||
messages = [{"role": "user", "content": "Hi!"}]
|
||||
usage = {
|
||||
"prompt_tokens": 1000000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue