Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crazygao committed Apr 1, 2024
1 parent fd5e643 commit 42e3a21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/promptflow-core/promptflow/_utils/user_agent_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def setup_user_agent_to_operation_context(user_agent):

def append_promptflow_package_ua(operation_context: OperationContext):
try:
from promptflow.core._version import VERSION as PF_VERSION
from promptflow._version import VERSION as PF_VERSION

operation_context.append_user_agent(f"promptflow/{PF_VERSION}")
except ImportError:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
last_frame_info,
remove_suffix,
)
from promptflow.core._version import VERSION
from promptflow._version import VERSION
from promptflow.exceptions import (
ErrorTarget,
PromptflowException,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from promptflow._utils.exception_utils import ExceptionPresenter, JsonSerializedPromptflowException, ResponseCode
from promptflow._utils.logger_utils import bulk_logger, flow_logger, logger, service_logger
from promptflow.core._version import VERSION as PF_VERSION
from promptflow._version import VERSION as PF_VERSION
from promptflow.core._version import __version__ as PF_CORE_VERSION
from promptflow.executor._service._errors import ExecutionTimeoutError
from promptflow.executor._service.contracts.execution_request import BaseExecutionRequest, FlowExecutionRequest
Expand Down

0 comments on commit 42e3a21

Please sign in to comment.