You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openai-client/api/openai-client.api
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,15 @@ public abstract interface class com/aallam/openai/client/Images {
48
48
public abstract fun imageURL (Lcom/aallam/openai/api/image/ImageVariation;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
49
49
}
50
50
51
+
public final class com/aallam/openai/client/LoggingConfig {
52
+
public fun <init> ()V
53
+
public fun <init> (Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Z)V
54
+
public synthetic fun <init> (Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
55
+
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel;
56
+
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger;
57
+
public final fun getSanitize ()Z
58
+
}
59
+
51
60
public abstract interface class com/aallam/openai/client/Models {
52
61
public abstract fun model-Q3EJpKE (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
53
62
public abstract fun models (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -63,10 +72,11 @@ public abstract interface class com/aallam/openai/client/OpenAI : com/aallam/ope
63
72
public final class com/aallam/openai/client/OpenAIConfig {
64
73
public fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;)V
65
74
public synthetic fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
75
+
public fun <init> (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;)V
76
+
public synthetic fun <init> (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
66
77
public final fun getHeaders ()Ljava/util/Map;
67
78
public final fun getHost ()Lcom/aallam/openai/client/OpenAIHost;
68
-
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel;
69
-
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger;
79
+
public final fun getLogging ()Lcom/aallam/openai/client/LoggingConfig;
70
80
public final fun getOrganization ()Ljava/lang/String;
71
81
public final fun getProxy ()Lcom/aallam/openai/client/ProxyConfig;
72
82
public final fun getRetry ()Lcom/aallam/openai/client/RetryStrategy;
@@ -83,12 +93,14 @@ public final class com/aallam/openai/client/OpenAIHost {
83
93
}
84
94
85
95
public final class com/aallam/openai/client/OpenAIHost$Companion {
96
+
public final fun azure (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/aallam/openai/client/OpenAIHost;
86
97
public final fun getOpenAI ()Lcom/aallam/openai/client/OpenAIHost;
87
98
}
88
99
89
100
public final class com/aallam/openai/client/OpenAIKt {
90
101
public static final fun OpenAI (Lcom/aallam/openai/client/OpenAIConfig;)Lcom/aallam/openai/client/OpenAI;
91
-
public static final fun OpenAI (Ljava/lang/String;)Lcom/aallam/openai/client/OpenAI;
102
+
public static final fun OpenAI (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;)Lcom/aallam/openai/client/OpenAI;
103
+
public static synthetic fun OpenAI$default (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;ILjava/lang/Object;)Lcom/aallam/openai/client/OpenAI;
92
104
}
93
105
94
106
public abstract interface class com/aallam/openai/client/ProxyConfig {
0 commit comments