hammad-python 0.0.28__py3-none-any.whl → 0.0.30__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hammad/genai/agents/agent.py +1 -1
- hammad/web/search/client.py +2 -2
- {hammad_python-0.0.28.dist-info → hammad_python-0.0.30.dist-info}/METADATA +1 -1
- {hammad_python-0.0.28.dist-info → hammad_python-0.0.30.dist-info}/RECORD +6 -6
- {hammad_python-0.0.28.dist-info → hammad_python-0.0.30.dist-info}/WHEEL +0 -0
- {hammad_python-0.0.28.dist-info → hammad_python-0.0.30.dist-info}/licenses/LICENSE +0 -0
hammad/genai/agents/agent.py
CHANGED
@@ -226,7 +226,7 @@ class Agent(BaseGenAIModel, Generic[T]):
|
|
226
226
|
and maintain context across multiple conversation steps.
|
227
227
|
"""
|
228
228
|
|
229
|
-
model: LanguageModelName = "openai/gpt-4o-mini"
|
229
|
+
model: LanguageModelName | str = "openai/gpt-4o-mini"
|
230
230
|
"""The language model to use for the agent."""
|
231
231
|
|
232
232
|
name: str = "agent"
|
hammad/web/search/client.py
CHANGED
@@ -188,7 +188,7 @@ class AsyncSearchClient:
|
|
188
188
|
with DDGS() as ddgs:
|
189
189
|
raw_results = list(
|
190
190
|
ddgs.text(
|
191
|
-
|
191
|
+
query.strip(),
|
192
192
|
region=region,
|
193
193
|
safesearch=safesearch,
|
194
194
|
timelimit=timelimit,
|
@@ -256,7 +256,7 @@ class AsyncSearchClient:
|
|
256
256
|
with DDGS() as ddgs:
|
257
257
|
raw_results = list(
|
258
258
|
ddgs.news(
|
259
|
-
|
259
|
+
query.strip(),
|
260
260
|
region=region,
|
261
261
|
safesearch=safesearch,
|
262
262
|
timelimit=timelimit,
|
@@ -58,7 +58,7 @@ hammad/genai/__init__.py,sha256=d7E8JzSEk-4j-9eEYdTo-oPIH1_7wCMNteqSa0JfBLY,5271
|
|
58
58
|
hammad/genai/a2a/__init__.py,sha256=TXSD1nrihWVZsZLMxcbi4rgcXpmZy6c8cVXDKFVJ4HA,504
|
59
59
|
hammad/genai/a2a/workers.py,sha256=xJNVDDw-8XxQhwtQXBSLgUJhn-dLfuvvFCz_eTqcbMc,18339
|
60
60
|
hammad/genai/agents/__init__.py,sha256=_kfDT1rLHNm-eVdr7Lq3IRoHNooQvw3HbaN_71uqKek,1544
|
61
|
-
hammad/genai/agents/agent.py,sha256=
|
61
|
+
hammad/genai/agents/agent.py,sha256=CdYqCApgRSVRtBv2Es8qqTPm10Ss_YBvdUahENBdpOI,84509
|
62
62
|
hammad/genai/agents/run.py,sha256=ooiyVIOlDmIb0327pIP8j2OrcU198VgSRIOZTEmJr0s,37530
|
63
63
|
hammad/genai/agents/types/__init__.py,sha256=6X6_P82qe15dyqs-vAcXUk4na4tB-7oMdMf484v87io,1119
|
64
64
|
hammad/genai/agents/types/agent_context.py,sha256=u4evwx9B-UKEHMtNcsNlN9q8i12bsW9HhtyvmU0NNTw,313
|
@@ -128,8 +128,8 @@ hammad/web/http/client.py,sha256=LWBSVjvHEuHmOOWq5EUT4zN5w6zSG45bOTk6FiSPHuA,330
|
|
128
128
|
hammad/web/openapi/__init__.py,sha256=JhJQ6_laBmB2djIYFc0vgGha2GsdUe4FP1LDdZCQ5J4,25
|
129
129
|
hammad/web/openapi/client.py,sha256=1pXz7KAO_0pN4kQZoWKWskXDYGiJ535TsPO1GGCiC0E,26816
|
130
130
|
hammad/web/search/__init__.py,sha256=e9A6znPIiZCz-4secyHbUs0uUGf5yAqW6wGacgx961U,24
|
131
|
-
hammad/web/search/client.py,sha256=
|
132
|
-
hammad_python-0.0.
|
133
|
-
hammad_python-0.0.
|
134
|
-
hammad_python-0.0.
|
135
|
-
hammad_python-0.0.
|
131
|
+
hammad/web/search/client.py,sha256=cBp8aNWFzVKoYimjip1IYJ09Z3lDgQ0EAzDST16e8Pk,36676
|
132
|
+
hammad_python-0.0.30.dist-info/METADATA,sha256=IvVMqWWbCsvUK8z_VWipb7CVEOdl5jWuDoQwpOFOy1c,6425
|
133
|
+
hammad_python-0.0.30.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
134
|
+
hammad_python-0.0.30.dist-info/licenses/LICENSE,sha256=h74yFUWjbBaodcWG5wNmm30npjl8obVcxD-1nQfUp2I,1069
|
135
|
+
hammad_python-0.0.30.dist-info/RECORD,,
|
File without changes
|
File without changes
|