feature: 移除多余的print语句
This commit is contained in:
4
app.py
4
app.py
@@ -52,10 +52,6 @@ def encode_image_to_base64(image: Image.Image) -> str:
|
|||||||
|
|
||||||
async def call_openrouter_api(image_base64: str, user_message: str) -> str:
|
async def call_openrouter_api(image_base64: str, user_message: str) -> str:
|
||||||
"""调用 OpenRouter API"""
|
"""调用 OpenRouter API"""
|
||||||
print()
|
|
||||||
print(f"调用 OpenRouter API: {MODEL_NAME}")
|
|
||||||
print(f"用户消息: {user_message} {OPENROUTER_API_KEY}")
|
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
"Authorization": f"Bearer {OPENROUTER_API_KEY}",
|
"Authorization": f"Bearer {OPENROUTER_API_KEY}",
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|||||||
Reference in New Issue
Block a user