@acedatacloud/sdk 2026.1005.1 → 2026.1005.2
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/README.md +0 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,7 +71,6 @@ const claude = new AceDataCloud({
|
|
|
71
71
|
const response = await claude.chat.messages.create({
|
|
72
72
|
model: 'claude-sonnet-5-5',
|
|
73
73
|
messages: [{ role: 'user', content: 'Explain this code.' }],
|
|
74
|
-
metadata: { user_id: 'example-user-001' },
|
|
75
74
|
thinking: { type: 'adaptive', display: 'updates' },
|
|
76
75
|
output_config: { effort: 'high' },
|
|
77
76
|
});
|
|
@@ -81,10 +80,6 @@ Streaming and `claude.chat.messages.countTokens(...)` also preserve thinking
|
|
|
81
80
|
configuration. Parameter pass-through does not guarantee model support; API errors
|
|
82
81
|
are returned through the SDK's normal error handling.
|
|
83
82
|
|
|
84
|
-
Optional `metadata.user_id` is passed as request metadata, not conversation content.
|
|
85
|
-
Use a stable identifier without personal information; it does not replace Bearer
|
|
86
|
-
authentication or require the thinking beta header.
|
|
87
|
-
|
|
88
83
|
## OpenAI Embeddings
|
|
89
84
|
|
|
90
85
|
```typescript
|