Show 353 more MEDIUM findings
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo' — no routing/fallback
...ts\warden\gallery\repos\metagpt\examples\debate_simple.py:19
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...rojects\warden\gallery\repos\metagpt\examples\research.py:12
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...rden\gallery\repos\metagpt\examples\search_enhanced_qa.py:23
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...n\gallery\repos\metagpt\examples\stream_output_via_api.py:26
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ects\warden\gallery\repos\metagpt\examples\write_novel.py:57
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-20240620' — no routing/fallback
...s\warden\gallery\repos\metagpt\examples\aflow\optimize.py:84
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...s\warden\gallery\repos\metagpt\examples\aflow\optimize.py:90
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'RAG pipeline.
Note:
1. If `use_llm_ranker` is True, then it will use LLM Reranker to get better result, but it is not always guaranteed that the output will be parseable for reranking,
prefer `gpt-4-turbo`, otherwise might encounter `IndexError: list index out of range` or `ValueError: invalid literal for int() with base 10`.
' — no routing/fallback
...warden\gallery\repos\metagpt\examples\rag\rag_pipeline.py:243
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-20240620' — no routing/fallback
...cts\warden\gallery\repos\metagpt\examples\spo\optimize.py:11
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...cts\warden\gallery\repos\metagpt\examples\spo\optimize.py:13
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...cts\warden\gallery\repos\metagpt\examples\spo\optimize.py:15
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4 may update over time' — no routing/fallback
...llery\repos\metagpt\examples\werewolf_game\evals\utils.py:44
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...llery\repos\metagpt\examples\werewolf_game\evals\utils.py:85
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...lad\Projects\warden\gallery\repos\metagpt\metagpt\logs.py:153
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: '# Full Example: https://github.com/geekan/MetaGPT/blob/main/config/config2.example.yaml
# Reflected Code: https://github.com/geekan/MetaGPT/blob/main/metagpt/config2.py
# Config Docs: https://docs.deepwisdom.ai/main/en/guide/get_started/configuration.html
llm:
api_type: "openai" # or azure / ollama / groq etc.
model: "gpt-4-turbo" # or gpt-3.5-turbo
base_url: "https://api.openai.com/v1" # or forward url / other llm url
api_key: "YOUR_API_KEY"
' — no routing/fallback
...\warden\gallery\repos\metagpt\metagpt\software_company.py:127
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...\warden\gallery\repos\metagpt\metagpt\software_company.py:149
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...\warden\gallery\repos\metagpt\metagpt\software_company.py:153
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...lery\repos\metagpt\metagpt\document_store\milvus_store.py:73
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...os\metagpt\metagpt\environment\android\android_ext_env.py:374
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...gpt\metagpt\environment\android\text_icon_localization.py:268
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...lery\repos\metagpt\metagpt\ext\aflow\scripts\interface.py:44
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'Waiting for GPT-4V to generate documentation for the element ' — no routing/fallback
...gpt\metagpt\ext\android_assistant\actions\parse_record.py:110
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\ext\sela\experimenter.py:136
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\ext\sela\experimenter.py:138
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ts\warden\gallery\repos\metagpt\metagpt\ext\sela\utils.py:60
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ts\warden\gallery\repos\metagpt\metagpt\ext\sela\utils.py:118
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ts\warden\gallery\repos\metagpt\metagpt\ext\sela\utils.py:119
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...allery\repos\metagpt\metagpt\ext\sela\data\custom_task.py:73
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\ext\sela\data\dataset.py:194
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\ext\sela\data\dataset.py:289
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\ext\sela\data\dataset.py:292
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\ext\sela\data\dataset.py:294
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\ext\sela\data\dataset.py:298
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...pos\metagpt\metagpt\ext\sela\evaluation\visualize_mcts.py:142
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...den\gallery\repos\metagpt\metagpt\ext\sela\runner\aide.py:30
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...den\gallery\repos\metagpt\metagpt\ext\sela\runner\aide.py:31
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...den\gallery\repos\metagpt\metagpt\ext\sela\runner\aide.py:35
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...den\gallery\repos\metagpt\metagpt\ext\sela\runner\mcts.py:49
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ry\repos\metagpt\metagpt\ext\sela\runner\random_search.py:40
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...n\gallery\repos\metagpt\metagpt\ext\sela\runner\runner.py:41
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...lery\repos\metagpt\metagpt\ext\sela\search\tree_search.py:377
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-20240620' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:119
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:119
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:119
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:124
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-20240620' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:124
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:124
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:129
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-20240620' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:129
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...jects\warden\gallery\repos\metagpt\metagpt\ext\spo\app.py:129
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...gallery\repos\metagpt\metagpt\ext\spo\utils\llm_client.py:89
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...gallery\repos\metagpt\metagpt\ext\spo\utils\llm_client.py:90
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...gallery\repos\metagpt\metagpt\ext\spo\utils\llm_client.py:91
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'Set model and return self. For example, `with_model("gpt-3.5-turbo")`.' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\provider\base_llm.py:325
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\provider\constant.py:35
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\provider\constant.py:36
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\provider\constant.py:37
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-v2' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\provider\constant.py:40
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3.5-sonnet' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\provider\constant.py:43
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3.7-sonnet' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\provider\constant.py:44
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...allery\repos\metagpt\metagpt\provider\general_api_base.py:89
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...allery\repos\metagpt\metagpt\provider\general_api_base.py:96
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...allery\repos\metagpt\metagpt\provider\general_api_base.py:102
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-sonnet-20240229-v1:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:40
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-sonnet-20240229-v1:0:28k' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:41
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-sonnet-20240229-v1:0:200k' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:42
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-haiku-20240307-v1:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:44
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-haiku-20240307-v1:0:48k' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:45
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-haiku-20240307-v1:0:200k' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:46
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-opus-20240229-v1:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:48
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-5-sonnet-20240620-v1:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:50
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-5-sonnet-20241022-v2:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:51
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'us.anthropic.claude-3-5-sonnet-20241022-v2:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:52
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'us.anthropic.claude-3-7-sonnet-20250219-v1:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:54
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-7-sonnet-20250219-v1:0' — no routing/fallback
...n\gallery\repos\metagpt\metagpt\provider\bedrock\utils.py:55
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...cts\warden\gallery\repos\metagpt\metagpt\roles\teacher.py:46
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\roles\di\data_analyst.py:110
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\roles\di\data_analyst.py:140
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...allery\repos\metagpt\metagpt\roles\di\data_interpreter.py:135
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...allery\repos\metagpt\metagpt\roles\di\data_interpreter.py:188
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...cts\warden\gallery\repos\metagpt\metagpt\strategy\base.py:107
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...cts\warden\gallery\repos\metagpt\metagpt\strategy\base.py:109
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...allery\repos\metagpt\metagpt\strategy\thinking_command.py:110
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...llery\repos\metagpt\metagpt\tools\metagpt_oas3_api_svc.py:23
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...den\gallery\repos\metagpt\metagpt\tools\tool_recommend.py:157
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: 'gpt-4-vision-preview' — no routing/fallback
...llery\repos\metagpt\metagpt\tools\libs\gpt_v_generator.py:46
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...warden\gallery\repos\metagpt\metagpt\tools\libs\linter.py:222
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...warden\gallery\repos\metagpt\metagpt\tools\libs\linter.py:229
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...tagpt\metagpt\tools\swe_agent_commands\swe_agent_utils.py:25
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...metagpt\metagpt\tools\swe_agent_commands\_split_string.py:11
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...metagpt\metagpt\tools\swe_agent_commands\_split_string.py:14
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: '
@Time : 2023/4/29 16:07
@Author : alexanderwu
@File : common.py
@Modified By: mashenquan, 2023-11-1. According to Chapter 2.2.2 of RFC 116:
Add generic class-to-string and object-to-string conversion functionality.
@Modified By: mashenquan, 2023/11/27. Bug fix: `parse_recipient` failed to parse the recipient in certain GPT-3.5
responses.
' — no routing/fallback
...ects\warden\gallery\repos\metagpt\metagpt\utils\common.py:3
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
print() used instead of structured logging
...ects\warden\gallery\repos\metagpt\metagpt\utils\common.py:341
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ects\warden\gallery\repos\metagpt\metagpt\utils\common.py:343
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ects\warden\gallery\repos\metagpt\metagpt\utils\common.py:349
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ects\warden\gallery\repos\metagpt\metagpt\utils\common.py:351
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...ects\warden\gallery\repos\metagpt\metagpt\utils\common.py:1182
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...den\gallery\repos\metagpt\metagpt\utils\git_repository.py:295
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D5
print() used instead of structured logging
...en\gallery\repos\metagpt\metagpt\utils\role_zero_utils.py:128
Use logging.* or structlog.* for structured, searchable logs
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0125' — no routing/fallback
...warden\gallery\repos\metagpt\metagpt\utils\stream_pipe.py:23
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'Reduce the length of concatenated message segments to fit within the maximum token size.
Args:
msgs: A generator of strings representing progressively shorter valid prompts.
model_name: The name of the encoding to use. (e.g., "gpt-3.5-turbo")
system_text: The system prompts.
reserved: The number of reserved tokens.
Returns:
The concatenated message segments reduced to fit within the maximum token size.
Raises:
RuntimeError: If it fails to reduce the concatenated message length.
' — no routing/fallback
...ojects\warden\gallery\repos\metagpt\metagpt\utils\text.py:12
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'Split the text into chunks of a maximum token size.
Args:
text: The text to split.
prompt_template: The template for the prompt, containing a single `{}` placeholder. For example, "### Reference
{}".
model_name: The name of the encoding to use. (e.g., "gpt-3.5-turbo")
system_text: The system prompts.
reserved: The number of reserved tokens.
Yields:
The chunk of text.
' — no routing/fallback
...ojects\warden\gallery\repos\metagpt\metagpt\utils\text.py:41
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3.5-sonnet' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:19
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:20
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0301' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:21
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:22
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-16k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:23
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-16k-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:24
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-1106' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:27
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0125' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:28
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0314' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:29
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:30
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-32k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:31
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-32k-0314' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:32
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:33
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:34
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-1106-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:35
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0125-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:36
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:37
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo-2024-04-09' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:38
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-vision-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:39
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-1106-vision-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:40
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:41
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:42
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini-2024-07-18' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:43
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-2024-05-13' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:44
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-2024-08-06' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:45
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gemini-1.5-flash' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:55
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gemini-1.5-pro' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:56
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-2.0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:67
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-2.1' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:68
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-sonnet-20240229' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:69
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:70
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-v2' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:71
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-20240620' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:72
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-opus-20240229' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:73
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-haiku-20240307' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:74
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-7-sonnet-20250219' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:75
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:78
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:79
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:80
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o-2024-05-13' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:81
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o-mini' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:82
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o-mini-2024-07-18' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:83
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-3.5-turbo-0125' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:91
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4-turbo-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:92
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3-opus' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:95
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-5-sonnet-20241022-v2:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:96
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'us.anthropic.claude-3-5-sonnet-20241022-v2:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:97
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3.7-sonnet' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:98
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3.7-sonnet:beta' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:99
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3.7-sonnet:thinking' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:100
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-7-sonnet-20250219-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:101
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'us.anthropic.claude-3-7-sonnet-20250219-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:102
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'google/gemini-pro-1.5' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:103
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:252
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-2024-05-13' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:253
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-2024-08-06' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:254
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini-2024-07-18' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:255
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:256
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo-2024-04-09' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:257
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0125-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:258
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:259
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-1106-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:260
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:261
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-vision-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:262
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-1106-vision-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:263
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:264
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:265
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-32k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:266
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-32k-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:267
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0125' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:268
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:269
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-1106' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:270
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-instruct' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:271
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-16k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:272
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:273
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-16k-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:274
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gemini-1.5-flash' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:278
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gemini-1.5-pro' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:279
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-2.0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:290
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-2.1' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:291
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-sonnet-20240229' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:292
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-opus-20240229' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:293
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-5-sonnet-20240620' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:294
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'claude-3-haiku-20240307' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:295
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:298
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:299
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:300
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o-2024-05-13' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:301
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o-mini' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:302
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4o-mini-2024-07-18' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:303
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-3.5-turbo-0125' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:314
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'openai/gpt-4-turbo-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:315
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3-opus' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:318
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic/claude-3.5-sonnet' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:319
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'google/gemini-pro-1.5' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:320
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-sonnet-20240229-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:371
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-sonnet-20240229-v1:0:28k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:372
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-sonnet-20240229-v1:0:200k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:373
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-5-sonnet-20240620-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:374
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-haiku-20240307-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:375
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-haiku-20240307-v1:0:48k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:376
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-haiku-20240307-v1:0:200k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:377
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-opus-20240229-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:379
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-5-sonnet-20241022-v2:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:380
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'us.anthropic.claude-3-5-sonnet-20241022-v2:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:381
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'anthropic.claude-3-7-sonnet-20250219-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:382
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'us.anthropic.claude-3-7-sonnet-20250219-v1:0' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:383
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0125' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:430
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:441
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-16k-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:442
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-16k' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:445
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-1106' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:446
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0125' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:447
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0314' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:448
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-32k-0314' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:449
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:450
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-32k-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:451
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:452
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:453
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0125-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:454
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-1106-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:455
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:456
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-vision-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:457
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-1106-vision-preview' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:458
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:459
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-2024-05-13' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:460
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-2024-08-06' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:461
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:462
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4o-mini-2024-07-18' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:463
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0301' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:471
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:474
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'Warning: gpt-3.5-turbo may update over time. Returning num tokens assuming gpt-3.5-turbo-0125.' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:475
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-3.5-turbo-0125' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:476
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:477
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'Warning: gpt-4 may update over time. Returning num tokens assuming gpt-4-0613.' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:478
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: 'gpt-4-0613' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:479
Use model routing or configuration instead of hardcoded names
MEDIUM
D12
Hardcoded model name: '
Returns the number of tokens in a text string.
Args:
string (str): The text string.
model (str): The name of the encoding to use. (e.g., "gpt-3.5-turbo")
Returns:
int: The number of tokens in the text string.
' — no routing/fallback
...rden\gallery\repos\metagpt\metagpt\utils\token_counter.py:511
Use model routing or configuration instead of hardcoded names
MEDIUM
D5
JavaScript: Console logging with potential sensitive data
...metagpt\metagpt\environment\minecraft\mineflayer\index.js:147
Use structured logging and redact sensitive fields
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...allery\repos\metagpt\config\examples\groq-llama3-70b.yaml:4
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...ery\repos\metagpt\config\examples\openai-gpt-4-turbo.yaml:2
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:4
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:29
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:36
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:43
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:50
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:60
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: pas...WORD
...\warden\gallery\repos\metagpt\config\config2.example.yaml:74
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:104
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: sec...CRET
...\warden\gallery\repos\metagpt\config\config2.example.yaml:105
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\config\config2.example.yaml:110
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\gallery\repos\metagpt\config\examples\google-gemini.yaml:3
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...y\repos\metagpt\config\examples\openai-gpt-3.5-turbo.yaml:2
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...Projects\warden\gallery\repos\metagpt\config\config2.yaml:8
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._API
...d\Projects\warden\gallery\repos\metagpt\docs\README_FR.md:89
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...examples\llamaapi-Llama-4-Scout-17B-16E-Instruct-FP8.yaml:5
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...ples\llamaapi-llama-4-Maverick-17B-128E-Instruct-FP8.yaml:5
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...ers\gilad\Projects\warden\gallery\repos\metagpt\README.md:83
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...tagpt\config\examples\llamaapi-Llama-3.3-8B-Instruct.yaml:5
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...agpt\config\examples\llamaapi-Llama-3.3-70B-Instruct.yaml:5
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\metagpt\config\examples\anthropic-claude-3-5-sonnet.yaml:4
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: tok...OKEN
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:20
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: tok...oken
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:22
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: tok...OKEN
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:25
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: tok...oken
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:27
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:31
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: sec...CRET
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:32
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...eech
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:35
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: sec...eech
...ts\warden\gallery\repos\metagpt\config\vault.example.yaml:36
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...tagpt\config\examples\openrouter-llama3-70b-instruct.yaml:4
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...key>
...gallery\repos\metagpt\examples\aflow\config2.example.yaml:5
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...key>
...gallery\repos\metagpt\examples\aflow\config2.example.yaml:10
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...key>
...n\gallery\repos\metagpt\examples\spo\config2.example.yaml:5
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...key>
...n\gallery\repos\metagpt\examples\spo\config2.example.yaml:11
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...key>
...n\gallery\repos\metagpt\examples\spo\config2.example.yaml:16
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...key>
...n\gallery\repos\metagpt\examples\spo\config2.example.yaml:21
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...\warden\gallery\repos\metagpt\metagpt\software_company.py:134
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...gallery\repos\metagpt\metagpt\configs\embedding_config.py:22
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...gallery\repos\metagpt\metagpt\configs\embedding_config.py:26
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api..._KEY
...gallery\repos\metagpt\metagpt\configs\embedding_config.py:32
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Database URL (no credentials): red...ort}
...den\gallery\repos\metagpt\metagpt\configs\redis_config.py:19
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D4
Exposed Generic Secret: api...fd77
...\warden\gallery\repos\metagpt\metagpt\provider\ark_api.py:13
Move to secrets manager or .env file (excluded from VCS)
EU AI Act Article 15OWASP LLM09
MEDIUM
D9
No healthcheck defined for any service
...n\gallery\repos\metagpt\.devcontainer\docker-compose.yaml:1
Add healthcheck sections to critical services
MEDIUM
D9
No resource limits defined — services can consume unlimited resources
...n\gallery\repos\metagpt\.devcontainer\docker-compose.yaml:1
Add CPU/memory limits to services
MEDIUM
D8
Agent class 'CreateAgent' has no defined lifecycle states
...ts\warden\gallery\repos\metagpt\examples\agent_creator.py:19
Add state machine (ACTIVE/SUSPENDED/RETIRED) for agent lifecycle
MEDIUM
D12
Agent class 'AndroidAssistant' has no cost tracking
...\metagpt\ext\android_assistant\roles\android_assistant.py:26
Track token usage and costs per agent execution
MEDIUM
D12
Agent class 'Assistant' has no cost tracking
...s\warden\gallery\repos\metagpt\metagpt\roles\assistant.py:37
Track token usage and costs per agent execution
MEDIUM
D8
Agent class 'Assistant' has no defined lifecycle states
...s\warden\gallery\repos\metagpt\metagpt\roles\assistant.py:37
Add state machine (ACTIVE/SUSPENDED/RETIRED) for agent lifecycle
MEDIUM
D12
Agent class 'InvoiceOCRAssistant' has no cost tracking
...lery\repos\metagpt\metagpt\roles\invoice_ocr_assistant.py:39
Track token usage and costs per agent execution
MEDIUM
D8
Agent class 'InvoiceOCRAssistant' has no defined lifecycle states
...lery\repos\metagpt\metagpt\roles\invoice_ocr_assistant.py:39
Add state machine (ACTIVE/SUSPENDED/RETIRED) for agent lifecycle
MEDIUM
D12
Agent class 'TutorialAssistant' has no cost tracking
...gallery\repos\metagpt\metagpt\roles\tutorial_assistant.py:20
Track token usage and costs per agent execution
MEDIUM
D8
Agent class 'TutorialAssistant' has no defined lifecycle states
...gallery\repos\metagpt\metagpt\roles\tutorial_assistant.py:20
Add state machine (ACTIVE/SUSPENDED/RETIRED) for agent lifecycle
MEDIUM
D12
Agent class 'SWEAgent' has no cost tracking
...arden\gallery\repos\metagpt\metagpt\roles\di\swe_agent.py:17
Track token usage and costs per agent execution
MEDIUM
D3
No concurrency block — parallel deployments possible
...allery\repos\metagpt\.github\workflows\build-package.yaml:1
Add concurrency: group with cancel-in-progress to prevent parallel deploys
MEDIUM
D3
continue-on-error: true — pipeline failures silently suppressed
...den\gallery\repos\metagpt\.github\workflows\fulltest.yaml:39
Remove continue-on-error or scope it to non-critical steps only
MEDIUM
D3
No concurrency block — parallel deployments possible
...den\gallery\repos\metagpt\.github\workflows\fulltest.yaml:1
Add concurrency: group with cancel-in-progress to prevent parallel deploys
MEDIUM
D14
Push trigger without branch protection guard
...den\gallery\repos\metagpt\.github\workflows\fulltest.yaml:1
Add if: github.ref == 'refs/heads/main' or restrict push trigger branches
MEDIUM
D3
No concurrency block — parallel deployments possible
...n\gallery\repos\metagpt\.github\workflows\pre-commit.yaml:1
Add concurrency: group with cancel-in-progress to prevent parallel deploys
MEDIUM
D14
Push trigger without branch protection guard
...n\gallery\repos\metagpt\.github\workflows\pre-commit.yaml:1
Add if: github.ref == 'refs/heads/main' or restrict push trigger branches
MEDIUM
D3
No concurrency block — parallel deployments possible
...warden\gallery\repos\metagpt\.github\workflows\stale.yaml:1
Add concurrency: group with cancel-in-progress to prevent parallel deploys
MEDIUM
D3
No concurrency block — parallel deployments possible
...den\gallery\repos\metagpt\.github\workflows\unittest.yaml:1
Add concurrency: group with cancel-in-progress to prevent parallel deploys
MEDIUM
D14
Push trigger without branch protection guard
...den\gallery\repos\metagpt\.github\workflows\unittest.yaml:1
Add if: github.ref == 'refs/heads/main' or restrict push trigger branches
MEDIUM
D3
No .github/CODEOWNERS file — no code ownership enforcement
Add CODEOWNERS to enforce review requirements per path
EU AI Act Article 9
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...jects\warden\gallery\repos\metagpt\examples\rag\rag_bm.py:6
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...Projects\warden\gallery\repos\metagpt\metagpt\document.py:14
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...llery\repos\metagpt\metagpt\document_store\faiss_store.py:13
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...os\metagpt\metagpt\environment\minecraft\minecraft_env.py:11
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...en\gallery\repos\metagpt\metagpt\memory\memory_storage.py:9
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\gallery\repos\metagpt\metagpt\memory\role_zero_memory.py:19
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...ojects\warden\gallery\repos\metagpt\metagpt\rag\schema.py:7
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...arden\gallery\repos\metagpt\metagpt\rag\benchmark\base.py:6
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...warden\gallery\repos\metagpt\metagpt\rag\engines\flare.py:7
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\gallery\repos\metagpt\metagpt\rag\factories\embedding.py:6
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...rden\gallery\repos\metagpt\metagpt\rag\factories\index.py:4
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...warden\gallery\repos\metagpt\metagpt\rag\factories\llm.py:5
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...den\gallery\repos\metagpt\metagpt\rag\factories\ranker.py:3
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\gallery\repos\metagpt\metagpt\rag\factories\retriever.py:8
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...en\gallery\repos\metagpt\metagpt\rag\parsers\omniparse.py:6
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...lery\repos\metagpt\metagpt\rag\prompts\default_prompts.py:3
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\warden\gallery\repos\metagpt\metagpt\rag\rankers\base.py:6
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...allery\repos\metagpt\metagpt\rag\rankers\object_ranker.py:7
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...rden\gallery\repos\metagpt\metagpt\rag\retrievers\base.py:5
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\repos\metagpt\metagpt\rag\retrievers\chroma_retriever.py:3
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...lery\repos\metagpt\metagpt\rag\retrievers\es_retriever.py:3
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...y\repos\metagpt\metagpt\rag\retrievers\faiss_retriever.py:3
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\repos\metagpt\metagpt\rag\retrievers\hybrid_retriever.py:5
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...en\gallery\repos\metagpt\metagpt\tools\libs\index_repo.py:10
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...s\warden\gallery\repos\metagpt\metagpt\utils\embedding.py:8
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...ojects\warden\gallery\repos\metagpt\metagpt\utils\file.py:136
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...ry\repos\metagpt\tests\metagpt\rag\engines\test_simple.py:4
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...y\repos\metagpt\tests\metagpt\rag\factories\test_index.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...ery\repos\metagpt\tests\metagpt\rag\factories\test_llm.py:4
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\repos\metagpt\tests\metagpt\rag\factories\test_ranker.py:4
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...pos\metagpt\tests\metagpt\rag\factories\test_retriever.py:3
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...\repos\metagpt\tests\metagpt\rag\parser\test_omniparse.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...pos\metagpt\tests\metagpt\rag\rankers\test_base_ranker.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...s\metagpt\tests\metagpt\rag\rankers\test_object_ranker.py:4
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...tagpt\tests\metagpt\rag\retrievers\test_bm25_retriever.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...gpt\tests\metagpt\rag\retrievers\test_chroma_retriever.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...metagpt\tests\metagpt\rag\retrievers\test_es_retriever.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...agpt\tests\metagpt\rag\retrievers\test_faiss_retriever.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D6
LlamaIndex used without callback_manager — no query observability
...gpt\tests\metagpt\rag\retrievers\test_hybrid_retriever.py:2
Set callback_manager= on your index/query engine for tracing
MEDIUM
D1
Cloud AI endpoint URL hardcoded in source — hinders environment portability
...\warden\gallery\repos\metagpt\metagpt\software_company.py:133
Move AI service endpoints to environment variables or configuration files
OWASP LLM06
MEDIUM
D1
Cloud AI endpoint URL hardcoded in source — hinders environment portability
...arden\gallery\repos\metagpt\metagpt\configs\llm_config.py:61
Move AI service endpoints to environment variables or configuration files
OWASP LLM06
MEDIUM
D10
AWS Bedrock invoke_model without contentPolicy — no content filtering configured
...den\gallery\repos\metagpt\metagpt\provider\bedrock_api.py:73
Configure contentPolicy with filterStrength for input/output content moderation
EU AI Act Article 15
MEDIUM
D4
GCP Vertex AI without explicit service_account or credentials — relying on ambient auth
...llery\repos\metagpt\metagpt\provider\google_gemini_api.py:11
Pass service_account or credentials parameter for explicit IAM scoping
OWASP LLM06
MEDIUM
D1
Cloud AI endpoint URL hardcoded in source — hinders environment portability
...y\repos\metagpt\metagpt\tools\openai_text_to_embedding.py:63
Move AI service endpoints to environment variables or configuration files
OWASP LLM06
MEDIUM
D1
Cloud AI endpoint URL hardcoded in source — hinders environment portability
...y\repos\metagpt\tests\metagpt\provider\mock_llm_config.py:62
Move AI service endpoints to environment variables or configuration files
OWASP LLM06
MEDIUM
D4
GCP Vertex AI without explicit service_account or credentials — relying on ambient auth
...\metagpt\tests\metagpt\provider\test_google_gemini_api.py:57
Pass service_account or credentials parameter for explicit IAM scoping
OWASP LLM06
MEDIUM
D17
No adversarial testing evidence — no red team, no prompt injection tests
Implement adversarial testing for agent systems
MEDIUM
D17
No tool-call attack simulation — agent tool calls not tested against adversarial inputs
Implement adversarial testing for agent systems
MEDIUM
D17
No multi-agent chaos engineering — agent swarms not stress tested
Implement adversarial testing for agent systems