mirror of
https://github.com/anomalyco/opencode.git
synced 2026-09-13 11:03:24 +00:00
refactor(core): remove unused chat state (#45664)
This commit is contained in:
parent
a067c45cb6
commit
bfb00cbb75
1 changed files with 0 additions and 2 deletions
|
|
@ -330,7 +330,6 @@ export class OpenAICompatibleChatLanguageModel implements LanguageModelV3 {
|
|||
|
||||
const toolCalls: Array<{
|
||||
id: string
|
||||
type: "function"
|
||||
function: {
|
||||
name: string
|
||||
arguments: string
|
||||
|
|
@ -560,7 +559,6 @@ export class OpenAICompatibleChatLanguageModel implements LanguageModelV3 {
|
|||
|
||||
toolCalls[index] = {
|
||||
id: toolCallDelta.id,
|
||||
type: "function",
|
||||
function: {
|
||||
name: toolCallDelta.function.name,
|
||||
arguments: toolCallDelta.function.arguments ?? "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue