monacopilot 0.8.4 → 0.8.6
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +15 -16
package/dist/index.d.mts
CHANGED
|
@@ -69,12 +69,12 @@ interface CompletionMetadata {
|
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* ```ts
|
|
72
|
-
* const
|
|
72
|
+
* const copilot = new Copilot(process.env.GROQ_API_KEY, {
|
|
73
73
|
* model: 'llama3-70b-8192',
|
|
74
74
|
* });
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
declare class
|
|
77
|
+
declare class Copilot {
|
|
78
78
|
private apiKey;
|
|
79
79
|
constructor(apiKey: string, options?: CompletionConstructorParams);
|
|
80
80
|
complete(data: CompletionRequestParams): Promise<GroqCompletion | {
|
|
@@ -84,4 +84,4 @@ declare class Completion {
|
|
|
84
84
|
|
|
85
85
|
declare const Editor: ({ endpoint, framework, theme, ...props }: EditorProps) => React.JSX.Element;
|
|
86
86
|
|
|
87
|
-
export {
|
|
87
|
+
export { Copilot, Editor, type EditorProps, type FrameworkType, type ThemeType as Theme, type endpointType };
|
package/dist/index.d.ts
CHANGED
|
@@ -69,12 +69,12 @@ interface CompletionMetadata {
|
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* ```ts
|
|
72
|
-
* const
|
|
72
|
+
* const copilot = new Copilot(process.env.GROQ_API_KEY, {
|
|
73
73
|
* model: 'llama3-70b-8192',
|
|
74
74
|
* });
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
declare class
|
|
77
|
+
declare class Copilot {
|
|
78
78
|
private apiKey;
|
|
79
79
|
constructor(apiKey: string, options?: CompletionConstructorParams);
|
|
80
80
|
complete(data: CompletionRequestParams): Promise<GroqCompletion | {
|
|
@@ -84,4 +84,4 @@ declare class Completion {
|
|
|
84
84
|
|
|
85
85
|
declare const Editor: ({ endpoint, framework, theme, ...props }: EditorProps) => React.JSX.Element;
|
|
86
86
|
|
|
87
|
-
export {
|
|
87
|
+
export { Copilot, Editor, type EditorProps, type FrameworkType, type ThemeType as Theme, type endpointType };
|