Skip to content

Commit 84dcef8

Browse files
committed
Added requested changes
1 parent 4430c0d commit 84dcef8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

components/x_ai/actions/create-embeddings/create-embeddings.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "x_ai-create-embeddings",
55
name: "Create Embedding",
66
description: "Create an embedding vector representation corresponding to the input text. [See the documentation](https://docs.x.ai/api/endpoints#create-embeddings)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
app,

components/x_ai/actions/get-model/get-model.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "x_ai-get-model",
55
name: "Get Model",
66
description: "List all language and embedding models available. [See the documentation](https://docs.x.ai/api/endpoints#get-model)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
app,

components/x_ai/actions/post-chat-completion/post-chat-completion.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "x_ai-post-chat-completion",
55
name: "Post Chat Completion",
66
description: "Create a language model response for a chat conversation. [See the documentation](https://docs.x.ai/api/endpoints#chat-completions)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
app,
@@ -88,9 +88,9 @@ export default {
8888
data: {
8989
model: this.model,
9090
messages: [
91-
{
92-
role: "user",
93-
content: this.message,
91+
{
92+
role: "user",
93+
content: this.message,
9494
},
9595
],
9696
frequency_penalty: Number(this.frequencyPenalty),

components/x_ai/actions/post-completion/post-completion.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "x_ai-post-completion",
55
name: "Post Completion",
66
description: "Create a language model response for a given prompt. [See the documentation](https://docs.x.ai/api/endpoints#completions)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
app,

0 commit comments

Comments
 (0)