diff --git a/src/Cnblogs.DashScope.Core/DashScopeClientCore.cs b/src/Cnblogs.DashScope.Core/DashScopeClientCore.cs
index b986de5..9784516 100644
--- a/src/Cnblogs.DashScope.Core/DashScopeClientCore.cs
+++ b/src/Cnblogs.DashScope.Core/DashScopeClientCore.cs
@@ -32,6 +32,9 @@ public DashScopeClientCore(HttpClient httpClient)
_httpClient = httpClient;
}
+ ///
+ public Uri? BaseAddress => _httpClient.BaseAddress;
+
///
public async Task> GetTextCompletionAsync(
ModelRequest input,
diff --git a/src/Cnblogs.DashScope.Core/IDashScopeClient.cs b/src/Cnblogs.DashScope.Core/IDashScopeClient.cs
index 4334c43..3c32291 100644
--- a/src/Cnblogs.DashScope.Core/IDashScopeClient.cs
+++ b/src/Cnblogs.DashScope.Core/IDashScopeClient.cs
@@ -5,6 +5,11 @@
///
public interface IDashScopeClient
{
+ ///
+ /// Get the underlying api gateway address.
+ ///
+ Uri? BaseAddress { get; }
+
///
/// Return textual completions as configured for a given prompt.
///