Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ export interface InputObject {
tools?: Tool[];
tool_choice?: ToolChoice;
tags?: string[];
/**
* @deprecated Legacy switch: any value turns tool-result trimming on for this
* request. Use `tool_result_trimming` instead.
*/
compression_model?: "claude" | "opencode" | "cursor" | "customer";
/** Turn tool-result trimming on or off for this request. Omit to keep the API key setting. */
tool_result_trimming?: boolean;
/**
Expand Down Expand Up @@ -231,7 +226,6 @@ export default class Edgee {
if (input.tools) body.tools = input.tools;
if (input.tool_choice) body.tool_choice = input.tool_choice;
if (input.tags) body.tags = input.tags;
if (input.compression_model) body.compression_model = input.compression_model;
}

const res = await fetch(`${this.baseUrl}/v1/chat/completions`, {
Expand Down Expand Up @@ -342,7 +336,6 @@ export default class Edgee {
if (input.tools) body.tools = input.tools;
if (input.tool_choice) body.tool_choice = input.tool_choice;
if (input.tags) body.tags = input.tags;
if (input.compression_model) body.compression_model = input.compression_model;
}

yield* this._handleStreamingResponse(
Expand Down
Loading