Chore: tests update

This commit is contained in:
Grail Finder
2025-09-06 15:12:07 +03:00
parent c75ac433d4
commit ab8ec4c55a
3 changed files with 109 additions and 28 deletions

View File

@@ -165,8 +165,8 @@ func NewOpenRouterParser(log *slog.Logger, cfg *config.Config) *openRouterParser
log: log,
cfg: cfg,
modelIndex: 0,
useChatAPI: false, // Default to completion API which is more widely supported
supportsTools: false, // Don't assume tool support
useChatAPI: true, // Default to chat API since test cases use chat completion responses
supportsTools: true, // Assume tool support for chat API
}
}