@antscorp/antsomi-ui 1.2.2-beta.6 → 1.2.2-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.css
CHANGED
|
@@ -6,4 +6,4 @@ pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5p
|
|
|
6
6
|
.KGc1EPYUUD9g4R6Ib_jB > p:first-child {
|
|
7
7
|
margin-top: 0 !important;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
.chat{display:flex;flex-direction:column;height:100%;padding:2rem;border-radius:1rem;border:1px solid #ddd;box-shadow:0 4px 6px rgba(49,54,68,.05),0 5px 20px rgba(49,54,68,.08)}.logs{flex:1;overflow-y:auto;margin-bottom:1rem}.log{gap:.4rem;display:flex;flex-direction:column}@keyframes blink{to{visibility:hidden}}.streaming>div{white-space:pre-wrap}.streaming>div>:not(ol):not(ul):not(pre):last-child:after,.streaming>div>ol:last-child li:last-child:after,.streaming>div>pre:last-child code:after,.streaming>div>ul:last-child li:last-child:after{-webkit-animation:blink 1s steps(5, start) infinite;animation:blink 1s steps(5, start) infinite;content:"▋";margin-left:.25rem;vertical-align:baseline}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Message } from './types';
|
|
2
|
-
declare const ask: (onMessage: (data: string | null) => void, messages: Partial<Message>[]) => Promise<void>;
|
|
2
|
+
declare const ask: (onMessage: (data: string | null) => void, messages: Partial<Message>[], token?: string) => Promise<void>;
|
|
3
3
|
export default ask;
|