@stainless-api/docs-ai-chat 0.1.0-beta.8 → 0.1.0-beta.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @stainless-api/docs-ai-chat
2
2
 
3
+ ## 0.1.0-beta.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 827e203: allow http as fallback now that API supports it
8
+ - 6340cae: fix steelie http fallback
9
+
3
10
  ## 0.1.0-beta.8
4
11
 
5
12
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/docs-ai-chat",
3
- "version": "0.1.0-beta.8",
3
+ "version": "0.1.0-beta.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,9 +8,9 @@
8
8
  "peerDependencies": {
9
9
  "react": ">=19.0.0",
10
10
  "react-dom": ">=19.0.0",
11
- "@stainless-api/docs": "0.1.0-beta.66",
11
+ "@stainless-api/docs-ui": "0.1.0-beta.52",
12
12
  "@stainless-api/ui-primitives": "0.1.0-beta.39",
13
- "@stainless-api/docs-ui": "0.1.0-beta.52"
13
+ "@stainless-api/docs": "0.1.0-beta.66"
14
14
  },
15
15
  "dependencies": {
16
16
  "@streamparser/json-whatwg": "^0.0.22",
package/src/AiChat.tsx CHANGED
@@ -17,7 +17,10 @@ export default function DocsChat({
17
17
  projectId: string;
18
18
  language: DocsLanguage | undefined;
19
19
  }) {
20
- const { chatMessages, sendMessage } = useChat({ projectId, language: language ?? 'typescript' });
20
+ const { chatMessages, sendMessage } = useChat({
21
+ projectId,
22
+ language: language ?? 'http',
23
+ });
21
24
 
22
25
  const baseRef = useRef<HTMLDivElement>(null);
23
26
  const inputRef = useRef<HTMLTextAreaElement>(null);