Skip to content

Commit e458957

Browse files
committed
banner change
delete unused assets size and corner radius top banner 100% CopiotTextarea webp . .
1 parent 5dadbee commit e458957

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<img src="./assets/banner.png" width="250">
2+
<img src="./assets/banner.png" width="100%">
33
</div>
44

55
# CopilotKit🪁 [![Discord](https://dcbadge.vercel.app/api/server/6dffbvGU3D?compact=true&style=flat)](https://discord.gg/6dffbvGU3D)
@@ -10,7 +10,11 @@ Add a powerful & hackable copilot to any app, in an afternoon.
1010

1111
CopilotKit in action.
1212

13-
![Demo Gif](./assets/demo.gif)
13+
<p align="center">
14+
<img src="./assets/demo.gif" width="600" style="border-radius: 15px;">
15+
</p>
16+
17+
1418

1519
## Installation
1620

@@ -20,11 +24,14 @@ pnpm install @copilotkit/react-core @copilotkit/react-ui @copilotkit/react-texta
2024

2125
## Examples
2226

23-
### NEW! CopilotTextarea
27+
### NEW! `<CopilotTextarea />`
2428

2529
A drop-in <textarea /> replacement with context-aware Copilot autocompletions.
2630

27-
![CopilotTextarea Gif](./assets/CopilotTextarea.gif)
31+
<p align="center">
32+
<img src="./assets/CopilotTextarea.gif" width="400" height="400" style="border-radius: 15px;">
33+
</p>
34+
2835

2936
```typescript
3037
import "@copilotkit/react-ui/styles.css"; // add to the app-global css
@@ -39,12 +46,11 @@ import { CopilotTextarea, MinimalChatGPTMessage, MakeSystemPrompt } from "@copil
3946
autosuggestionsConfig={{
4047
purposePrompt: "A COOL & SMOOTH announcement post about CopilotTextarea. Be brief. Be clear. Be cool.",
4148
externalContextCategories: ["someSpecificContextCategory"], // or leave as `undefined`, for the default global Copilot context
42-
apiEndpoint: "/api/autosuggestions" // API endpoint compatible with standard OPENAI endpoint
49+
apiEndpoint: "/api/autosuggestions" // (see below)
4350
forwardedParams: {
4451
max_tokens: 25,
4552
stop: ["\n", ".", ","],
4653
},
47-
// ... see `AutosuggestionsConfig`
4854
}}
4955
/>
5056

assets/CopilotTextarea.gif

-11.4 MB
Loading

assets/banner.png

-834 KB
Loading

0 commit comments

Comments
 (0)