mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-20 15:38:09 +02:00
Fixed max tokens; Corrected typo
This commit is contained in:
parent
58a5720f01
commit
ddb5409118
3 changed files with 51 additions and 51 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