Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion core/src/browser/extensions/engines/AIEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export interface chatCompletionRequestMessage {
role: 'system' | 'user' | 'assistant' | 'tool'
content: string | null | Content[] // Content can be a string OR an array of content parts
reasoning?: string | null // Some models return reasoning in completed responses
reasoning_content?: string | null // Some models return reasoning in completed responses
name?: string
tool_calls?: any[] // Simplified tool_call_id?: string
}
Expand Down Expand Up @@ -274,7 +275,7 @@ export abstract class AIEngine extends BaseExtension {

/**
* Check if a tool is supported by the model
* @param modelId
* @param modelId
*/
abstract isToolSupported(modelId: string): Promise<boolean>
}
1 change: 0 additions & 1 deletion extensions/llamacpp-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,6 @@ export default class llamacpp_extension extends AIEngine {
modelConfig.model_path,
])
args.push('--jinja')
args.push('--reasoning-format', 'none')
args.push('-m', modelPath)
// For overriding tensor buffer type, useful where
// massive MOE models can be made faster by keeping attention on the GPU
Expand Down
Loading
Loading