mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:47:21 +00:00
Turned getter-like extension methods into extension properties (#1157)
This commit is contained in:
1 parent
0375318b1b
commit
f649febf88
286 files changed
+1379
-1109
No files matched your search
+1
-1
@@ -133,7 +133,7 @@ public sealed class TavilySearchBackend : IWebSearchBackend
|
||||
// would rather have more hits than one language can choose any language instead.
|
||||
//
|
||||
FilterByLanguage = language is null ? null : true,
|
||||
SafeSearch = query.SafeSearch?.ToTavilyValue(),
|
||||
SafeSearch = query.SafeSearch?.TavilyValue,
|
||||
};
|
||||
|
||||
var response = await this.searchClient.SearchAsync(apiKey.Trim(), searchRequest, query.TimeoutSeconds, token);
|
||||
|
||||
Reference in new issue
Block a user