Skip to content

Commit adaac82

Browse files
committed
add some logs
1 parent e794271 commit adaac82

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

veadk/auth/veauth/vesearch_veauth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(
3535

3636
@override
3737
def _fetch_token(self):
38-
logger.info("Fetching Vesearch token from Volcengine Top Gateway.")
38+
logger.info("Fetching VeSearch token ...")
3939

4040
res = ve_request(
4141
request_body={"biz_scene": "search_agent", "page": 1, "rows": 10},

veadk/cli/cli_prompt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
@click.option(
2020
"--path", default=".", help="Agent file path with global variable `agent=...`"
2121
)
22-
@click.option("--feedback", default=None, help="Suggestions for prompt optimization")
23-
@click.option("--api-key", default=None, help="API Key of PromptPilot")
22+
@click.option("--feedback", default="", help="Suggestions for prompt optimization")
23+
@click.option("--api-key", default="", help="API Key of PromptPilot")
2424
@click.option(
2525
"--model-name",
2626
default="doubao-1.5-pro-32k-250115",

veadk/integrations/ve_tls/ve_tls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,6 @@ def get_trace_topic_id(self):
195195
if not instance:
196196
raise ValueError("None instance")
197197

198+
logger.info(f"Fetched trace topic id: {instance['TraceTopicId']}")
199+
198200
return instance["TraceTopicId"]

0 commit comments

Comments
 (0)