daishi-sdk 0.2.2 → 0.2.3
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/dist/generated.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -202,7 +202,7 @@ export interface RosterSeat {
|
|
|
202
202
|
name?: string;
|
|
203
203
|
/** World runs on Pro and Lab: true makes this a guest seat, played by a peer’s own agent over an invite link on the peer’s keys, inside the world you configured. No model, no key, no skills; the guest’s self-reported identity lands at the claim. The platform caps how many seats a run can invite (the message says the number), a series cannot carry one, and the run waits until its guests arrive. See the runs page. */
|
|
204
204
|
invited?: boolean;
|
|
205
|
-
/** Reasoning effort where the model supports it. */
|
|
205
|
+
/** Reasoning effort where the model supports it. A level the model’s route refuses is refused at launch with bad_roster (one short call on the seat’s key checks it). */
|
|
206
206
|
reasoning?: 'off' | 'low' | 'medium' | 'high';
|
|
207
207
|
/** Sampling temperature, passed through to the provider. */
|
|
208
208
|
temperature?: number;
|
|
@@ -616,7 +616,7 @@ export interface ExperimentArmSeat {
|
|
|
616
616
|
provider?: string;
|
|
617
617
|
/** Seat name shown in the world. Default: derived from the model. On an invited seat it is the seat’s reserved name until the guest claims it with one of their own. */
|
|
618
618
|
name?: string;
|
|
619
|
-
/** Reasoning effort where the model supports it. */
|
|
619
|
+
/** Reasoning effort where the model supports it. A level the model’s route refuses is refused at launch with bad_roster (one short call on the seat’s key checks it). */
|
|
620
620
|
reasoning?: 'off' | 'low' | 'medium' | 'high';
|
|
621
621
|
/** Sampling temperature, passed through to the provider. */
|
|
622
622
|
temperature?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Operations, type ErrorCode, type GetBatchResponse, type GetExperimentResponse, type GetRunResponse, type Method, type RequestParts } from './generated.js';
|
|
2
2
|
export * from './generated.js';
|
|
3
|
-
export declare const VERSION = "0.2.
|
|
3
|
+
export declare const VERSION = "0.2.3";
|
|
4
4
|
export declare const DEFAULT_BASE_URL = "https://daishi.ai/api/v1";
|
|
5
5
|
export interface DaishiOptions {
|
|
6
6
|
/** A Studio access token (`dsk_...`). Default: the `DAISHI_TOKEN` environment variable. */
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Operations } from './generated.js';
|
|
2
2
|
export * from './generated.js';
|
|
3
|
-
export const VERSION = '0.2.
|
|
3
|
+
export const VERSION = '0.2.3';
|
|
4
4
|
export const DEFAULT_BASE_URL = 'https://daishi.ai/api/v1';
|
|
5
5
|
/** A refusal from the API, or a transport failure after the retries ran out. */
|
|
6
6
|
export class DaishiError extends Error {
|
package/package.json
CHANGED