Skip to content

Commit

Permalink
Append to exisiting UA instead of overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
ghyadav committed Jan 17, 2025
1 parent 25aece9 commit 209d701
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import inspect

from azure.ai.evaluation import _user_agent
from azure.ai.evaluation._version import VERSION


def get_eval_type():
Expand All @@ -23,4 +22,4 @@ def get_eval_type():


eval_type = get_eval_type()
_user_agent.USER_AGENT = "{}/{}/{}".format("azure-ai-evaluation", VERSION, eval_type)
_user_agent.USER_AGENT += "/{}".format(eval_type)
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import argparse

from eval_common import _ua_patcher # noqa: F401, E402 # Module imported but unused
import preprocess # noqa: E402
import evaluate # noqa: E402
import postprocess # noqa: E402
import mlflow # noqa: E402
import preprocess
import evaluate
import postprocess
import mlflow


def get_args():
Expand Down

0 comments on commit 209d701

Please sign in to comment.