73e249b3c1
Migrate all samples to eslint 9
...
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
2024-10-26 17:44:03 -07:00
a0e45af080
Fixes #1106
2024-10-09 14:26:34 -07:00
9e7875d28e
use disambiguation per command
...
also rename teach to randomTeach
2024-08-14 17:51:58 +02:00
b857a25753
no need to check if error or usage enabled on logger. This is auto-checked
...
fyi @lramos15
2024-08-02 11:59:24 +02:00
afe4d1eb3e
use telemetry logger for counting requests, and unhelpful feedback, to be able to compute success metric
2024-08-01 13:59:37 +02:00
d92c5fcc03
use gpt-4o in sample
2024-07-31 15:45:34 +02:00
20074ff9d5
Fix linting for chat sample
2024-06-27 14:16:27 -07:00
995432a2bb
update how vscode.d.ts gets in
2024-06-10 11:55:27 +02:00
50dabc24b6
chore: adopt @vscode/prompt-tsx 0.2.1-alpha ( #1047 )
2024-06-07 02:30:23 +02:00
d5539c05fc
re-throw other errors so they show up in the UI
2024-06-03 15:51:05 +02:00
f6fd8214cf
error handling in chat sample
2024-05-31 12:57:26 +02:00
36f0e08404
Adopt prompt-tsx for chat sample ( #995 )
...
* Adopt prompt-tsx for chat sample
* Rename
* Update prompt-tsx to published version
* Update for latest
* Fix up
* Small fix
* Latest prompt-tsx
* Format
2024-05-29 10:32:35 -07:00
5b5218d9d9
gracefully handle if model is not there
2024-05-27 14:09:11 +02:00
4ccae9de54
use static for creating User message
2024-05-16 20:51:16 -07:00
c6bba89ac4
add manually vscode.d.ts
2024-05-16 16:09:06 -07:00
1281bcf61a
api is no longer proposed
2024-05-16 09:42:14 -07:00
cfec264062
update sample to latest api ( #1021 )
...
* update sample to latest api
* Fix family
* Minor cleanup
* Add fullname
---------
Co-authored-by: Rob Lourens <roblourens@gmail.com >
2024-05-15 14:36:25 -07:00
e924d02468
cleaner separation of user messages
2024-05-03 16:22:40 +02:00
3ac0dbc252
do not use system prompt
2024-05-02 14:14:53 +02:00
bc4403b07f
take latest proposed api for chat sample
2024-04-30 16:48:44 +02:00
9f62ac5c90
Adopt ChatParticipant 'isSticky' change ( #993 )
2024-03-24 09:12:08 +11:00
877375478b
Adopt chat participant ID ( #992 )
2024-03-20 16:44:27 -07:00
d6a2d4f3bc
Adopt provideFollowups API change ( #978 )
2024-03-01 07:33:06 -07:00
aa13e486da
Adopt new static chat participant contribution ( #977 )
2024-02-29 13:47:06 -03:00
f2a047e44b
add error handling for sample command
2024-02-28 18:19:09 +01:00
b69d6d75c5
update to latest Language Model api
2024-02-28 15:55:48 +01:00
a7e7e7f3a2
Merge pull request #971 from microsoft/isidorn/active-bison
...
Add command to use cat names in editor
2024-02-23 16:03:48 +01:00
21d6b65423
Add command to use cat names in editor
2024-02-23 15:56:39 +01:00
22e8afd605
sample use stream.progress
2024-02-23 14:52:23 +01:00
a9504836bc
use history to determine what cat has already taught
2024-02-23 13:09:10 +01:00
a0ebeeb6a0
cat.isStricky = true
2024-02-22 17:13:25 +01:00
ef371e3650
comment
2024-02-22 16:58:20 +01:00
507a008e6c
remove console log
2024-02-22 16:57:35 +01:00
adcf19ee68
chat sample use gpt-3.5 by default
2024-02-22 16:56:46 +01:00
e1d8b8b72f
more renames
2024-02-22 15:51:21 +01:00
aee5500a8e
Chat Agent Sample -> Chat Sample
...
fyi @roblourens
2024-02-22 15:47:34 +01:00