update
This commit is contained in:
@@ -4,7 +4,7 @@ export wikisearch
|
||||
|
||||
using HTTP, JSON3
|
||||
using GeneralUtils
|
||||
using ..utils
|
||||
using ..type, ..utils
|
||||
#------------------------------------------------------------------------------------------------100
|
||||
|
||||
"""
|
||||
@@ -21,7 +21,7 @@ using ..utils
|
||||
"Advanced Micro Devices, Inc., commonly abbreviated as AMD, is an ..."
|
||||
```
|
||||
"""
|
||||
function wikisearch(phrase::T) where {T<:AbstractString}
|
||||
function wikisearch(a::agentReflex, phrase::T) where {T<:AbstractString}
|
||||
phrase = phrase[1] == " " ? phrase[2:end] : phrase
|
||||
# prepare input phrase
|
||||
if occursin("\"", phrase)
|
||||
|
||||
Reference in New Issue
Block a user