@@ -51,10 +51,11 @@ public class Chat(
51
51
private var lock = Semaphore (1 )
52
52
53
53
/* *
54
- * Sends a message using the provided [prompt]; automatically providing the existing [history] as context.
54
+ * Sends a message using the provided [prompt]; automatically providing the existing [history] as
55
+ * context.
55
56
*
56
- * If successful, the message and response will be added to the [history]. If unsuccessful, [history]
57
- * will remain unchanged.
57
+ * If successful, the message and response will be added to the [history]. If unsuccessful,
58
+ * [history] will remain unchanged.
58
59
*
59
60
* @param prompt The input that, together with the history, will be given to the model as the
60
61
* prompt.
@@ -75,10 +76,11 @@ public class Chat(
75
76
}
76
77
77
78
/* *
78
- * Sends a message using the provided [text prompt][prompt]; automatically providing the existing [history] as context.
79
+ * Sends a message using the provided [text prompt][prompt]; automatically providing the existing
80
+ * [history] as context.
79
81
*
80
- * If successful, the message and response will be added to the [history]. If unsuccessful, [history]
81
- * will remain unchanged.
82
+ * If successful, the message and response will be added to the [history]. If unsuccessful,
83
+ * [history] will remain unchanged.
82
84
*
83
85
* @param prompt The input that, together with the history, will be given to the model as the
84
86
* prompt.
0 commit comments