mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 09:01:20 +00:00
Fix tsgo type issues: update tsgo, fix ReasoningEffort import, remove broken enum-test
This commit is contained in:
parent
0bc8d79216
commit
238c5d34e4
7 changed files with 289 additions and 835 deletions
|
|
@ -11,6 +11,7 @@ import { calculateCost } from "../models.js";
|
|||
import type {
|
||||
AssistantMessage,
|
||||
Context,
|
||||
Message,
|
||||
Model,
|
||||
OpenAICompat,
|
||||
StopReason,
|
||||
|
|
@ -24,9 +25,7 @@ import type {
|
|||
import { AssistantMessageEventStream } from "../utils/event-stream.js";
|
||||
import { parseStreamingJson } from "../utils/json-parse.js";
|
||||
import { sanitizeSurrogates } from "../utils/sanitize-unicode.js";
|
||||
|
||||
import { transformMessages } from "./transorm-messages.js";
|
||||
import type { Message } from "../types.js";
|
||||
|
||||
/**
|
||||
* Check if conversation messages contain tool calls or tool results.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue