MCPcopy Create free account
hub / github.com/TencentQQGYLab/AppAgent / __init__

Method __init__

scripts/model.py:74–77  ·  view source on GitHub ↗
(self, api_key: str, model: str)

Source from the content-addressed store, hash-verified

72
73class QwenModel(BaseModel):
74 def __init__(self, api_key: str, model: str):
75 super().__init__()
76 self.model = model
77 dashscope.api_key = api_key
78
79 def get_model_response(self, prompt: str, images: List[str]) -> (bool, str):
80 content = [{

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected