Skip to content

Commit aa5090b

Browse files
committed
updated askQuestion
1 parent f3cd994 commit aa5090b

File tree

10 files changed

+59
-9
lines changed

10 files changed

+59
-9
lines changed

.codebolt/projectState.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"activeView": "Code",
6161
"id": "1"
6262
},
63-
"size": 512
63+
"size": 1152.7999877929688
6464
},
6565
{
6666
"type": "branch",
@@ -74,7 +74,7 @@
7474
"activeView": "Chat",
7575
"id": "2"
7676
},
77-
"size": 334
77+
"size": 378
7878
},
7979
{
8080
"type": "leaf",
@@ -85,16 +85,16 @@
8585
"activeView": "Preview",
8686
"id": "3"
8787
},
88-
"size": 334
88+
"size": 378
8989
}
9090
],
91-
"size": 512
91+
"size": 383.20001220703125
9292
}
9393
],
94-
"size": 668
94+
"size": 756
9595
},
96-
"width": 1024,
97-
"height": 668,
96+
"width": 1536,
97+
"height": 756,
9898
"orientation": "HORIZONTAL"
9999
},
100100
"panels": {
@@ -120,7 +120,7 @@
120120
"renderer": "always"
121121
}
122122
},
123-
"activeGroup": "2"
123+
"activeGroup": "1"
124124
},
125125
"pinnedAgent": [
126126
{

.codebolt/undefined.json

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"ports": [
3+
3000,
4+
3000,
5+
3000,
6+
3000,
7+
3000,
8+
3000,
9+
3000,
10+
3000,
11+
3000,
12+
3000,
13+
3000,
14+
3000,
315
3000
416
]
517
}

docs/api/chat/askQuestion.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: askQuestion
3+
cbbaseinfo:
4+
description: Asks a question to the user and waits for a response.
5+
cbparameters:
6+
parameters:
7+
- name: question
8+
typeName: string
9+
description: The question text to present to the user.
10+
returns:
11+
signatureTypeName: Promise
12+
description: A promise that resolves with the user's response.
13+
typeArgs:
14+
- type: intrinsic
15+
name: string
16+
data:
17+
name: askQuestion
18+
category: chat
19+
link: askQuestion.md
20+
---
21+
<CBBaseInfo/>
22+
<CBParameters/>
23+
24+
### Example:
25+
26+
```js
27+
const userResponse = await codebolt.chat.askQuestion(question: string)
28+
29+
```

docs/api/chat/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ cbapicategory:
2727
- name: waitforReply
2828
link: /docs/api/chat/waitforReply
2929
description: Waits for a reply to a sent message.
30+
- name: askQuestion
31+
link: /docs/api/chat/askQuestion
32+
description: Asks a question to the user.
3033

3134
---
3235
# chat

docs/user/features/controlK.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Ctrl K
22

3-
<iframe width="100%" height="315" src="https://www.youtube.com/embed/CPH93ADilaM?si=HzjXTzyzxx-n31fU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
3+
4+
![LLMs Settings](../../../static/img/llm-setting.png)
45

56
Ctrl K lets you edit and write code with the codebolt AI:
67

@@ -15,3 +16,8 @@ Ctrl K lets you edit and write code with the codebolt AI:
1516
- Review the diff showing the AI's edits
1617
- If you're happy with the changes, press Ctrl+Enter or Cmd+Enter to accept them
1718
- The AI's code will be inserted into your editor, replacing any previous selection
19+
20+
21+
### Video Guide
22+
23+
<iframe width="100%" height="315" src="https://www.youtube.com/embed/CPH93ADilaM?si=HzjXTzyzxx-n31fU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

static/img/ctrlK.png

405 KB
Loading

static/img/market_place.png

67.2 KB
Loading

static/img/marketplace.png

-163 KB
Binary file not shown.

static/img/planner.png

809 Bytes
Loading

static/img/preview.png

527 KB
Loading

0 commit comments

Comments
 (0)