signalwire-agents 0.1.48__py3-none-any.whl → 0.1.49__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.
@@ -18,7 +18,7 @@ A package for building AI agents using SignalWire's AI and SWML capabilities.
18
18
  from .core.logging_config import configure_logging
19
19
  configure_logging()
20
20
 
21
- __version__ = "0.1.48"
21
+ __version__ = "0.1.49"
22
22
 
23
23
  # Import core classes for easier access
24
24
  from .core.agent_base import AgentBase
@@ -380,6 +380,7 @@ class AIConfigMixin:
380
380
  The server will validate and apply parameters based on the target model's capabilities.
381
381
 
382
382
  Common parameters include:
383
+ model: The AI model to use (gpt-4o-mini, gpt-4.1-mini, gpt-4.1-nano, nova-micro, nova-lite)
383
384
  temperature: Randomness setting. Lower values make output more deterministic.
384
385
  top_p: Alternative to temperature. Controls nucleus sampling.
385
386
  barge_confidence: ASR confidence to interrupt. Higher values make it harder to interrupt.
@@ -394,6 +395,7 @@ class AIConfigMixin:
394
395
 
395
396
  Example:
396
397
  agent.set_prompt_llm_params(
398
+ model="nova-micro", # Using Amazon's nova-micro model
397
399
  temperature=0.7,
398
400
  top_p=0.9,
399
401
  barge_confidence=0.6
@@ -413,6 +415,7 @@ class AIConfigMixin:
413
415
  The server will validate and apply parameters based on the target model's capabilities.
414
416
 
415
417
  Common parameters include:
418
+ model: The AI model to use (gpt-4o-mini, gpt-4.1-mini, gpt-4.1-nano, nova-micro, nova-lite)
416
419
  temperature: Randomness setting. Lower values make output more deterministic.
417
420
  top_p: Alternative to temperature. Controls nucleus sampling.
418
421
  presence_penalty: Topic diversity. Positive values encourage new topics.
@@ -427,6 +430,7 @@ class AIConfigMixin:
427
430
 
428
431
  Example:
429
432
  agent.set_post_prompt_llm_params(
433
+ model="gpt-4o-mini",
430
434
  temperature=0.5, # More deterministic for post-prompt
431
435
  top_p=0.9
432
436
  )
@@ -1925,9 +1925,17 @@
1925
1925
  {
1926
1926
  "type": "string",
1927
1927
  "const": "gpt-4.1-nano"
1928
+ },
1929
+ {
1930
+ "type": "string",
1931
+ "const": "nova-micro"
1932
+ },
1933
+ {
1934
+ "type": "string",
1935
+ "const": "nova-lite"
1928
1936
  }
1929
1937
  ],
1930
- "description": "The model to use for the AI. Allowed values are `gpt-4o-mini`, `gpt-4.1-mini`, and `gpt-4.1-nano`."
1938
+ "description": "The model to use for the AI. Allowed values are `gpt-4o-mini`, `gpt-4.1-mini`, `gpt-4.1-nano`, `nova-micro`, and `nova-lite`."
1931
1939
  },
1932
1940
  "ai_volume": {
1933
1941
  "anyOf": [
@@ -4005,6 +4013,18 @@
4005
4013
  "maximum": 2,
4006
4014
  "description": "Aversion to repeating lines. Float value between -2.0 and 2.0. Positive values decrease the model's likelihood to repeat the same line verbatim."
4007
4015
  },
4016
+ "model": {
4017
+ "anyOf": [
4018
+ {
4019
+ "type": "string",
4020
+ "enum": ["gpt-4o-mini", "gpt-4.1-mini", "gpt-4.1-nano", "nova-micro", "nova-lite"]
4021
+ },
4022
+ {
4023
+ "$ref": "#/$defs/SWMLVar"
4024
+ }
4025
+ ],
4026
+ "description": "The model to use for the post-prompt. Allowed values are `gpt-4o-mini`, `gpt-4.1-mini`, `gpt-4.1-nano`, `nova-micro`, and `nova-lite`."
4027
+ },
4008
4028
  "text": {
4009
4029
  "type": "string",
4010
4030
  "description": "The instructions to send to the agent."
@@ -4084,6 +4104,18 @@
4084
4104
  "maximum": 2,
4085
4105
  "description": "Aversion to repeating lines. Float value between -2.0 and 2.0. Positive values decrease the model's likelihood to repeat the same line verbatim."
4086
4106
  },
4107
+ "model": {
4108
+ "anyOf": [
4109
+ {
4110
+ "type": "string",
4111
+ "enum": ["gpt-4o-mini", "gpt-4.1-mini", "gpt-4.1-nano", "nova-micro", "nova-lite"]
4112
+ },
4113
+ {
4114
+ "$ref": "#/$defs/SWMLVar"
4115
+ }
4116
+ ],
4117
+ "description": "The model to use for the post-prompt. Allowed values are `gpt-4o-mini`, `gpt-4.1-mini`, `gpt-4.1-nano`, `nova-micro`, and `nova-lite`."
4118
+ },
4087
4119
  "pom": {
4088
4120
  "type": "array",
4089
4121
  "items": {
@@ -4166,6 +4198,18 @@
4166
4198
  "maximum": 2,
4167
4199
  "description": "Aversion to repeating lines. Float value between -2.0 and 2.0. Positive values decrease the model's likelihood to repeat the same line verbatim."
4168
4200
  },
4201
+ "model": {
4202
+ "anyOf": [
4203
+ {
4204
+ "type": "string",
4205
+ "enum": ["gpt-4o-mini", "gpt-4.1-mini", "gpt-4.1-nano", "nova-micro", "nova-lite"]
4206
+ },
4207
+ {
4208
+ "$ref": "#/$defs/SWMLVar"
4209
+ }
4210
+ ],
4211
+ "description": "The model to use for the prompt. Allowed values are `gpt-4o-mini`, `gpt-4.1-mini`, `gpt-4.1-nano`, `nova-micro`, and `nova-lite`."
4212
+ },
4169
4213
  "text": {
4170
4214
  "type": "string",
4171
4215
  "description": "The instructions to send to the agent."
@@ -4249,6 +4293,18 @@
4249
4293
  "maximum": 2,
4250
4294
  "description": "Aversion to repeating lines. Float value between -2.0 and 2.0. Positive values decrease the model's likelihood to repeat the same line verbatim."
4251
4295
  },
4296
+ "model": {
4297
+ "anyOf": [
4298
+ {
4299
+ "type": "string",
4300
+ "enum": ["gpt-4o-mini", "gpt-4.1-mini", "gpt-4.1-nano", "nova-micro", "nova-lite"]
4301
+ },
4302
+ {
4303
+ "$ref": "#/$defs/SWMLVar"
4304
+ }
4305
+ ],
4306
+ "description": "The model to use for the prompt. Allowed values are `gpt-4o-mini`, `gpt-4.1-mini`, `gpt-4.1-nano`, `nova-micro`, and `nova-lite`."
4307
+ },
4252
4308
  "pom": {
4253
4309
  "type": "array",
4254
4310
  "items": {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: signalwire_agents
3
- Version: 0.1.48
3
+ Version: 0.1.49
4
4
  Summary: SignalWire AI Agents SDK
5
5
  Author-email: SignalWire Team <info@signalwire.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
- signalwire_agents/__init__.py,sha256=Y3xbhZP88Av8BKn1LIevDlrYWfFDg773OjLTcMBxAvo,5031
1
+ signalwire_agents/__init__.py,sha256=1byn77sqQkdmsLFanfvelyOr7MVKqyIP9iLOPZ37tAk,5031
2
2
  signalwire_agents/agent_server.py,sha256=x9HyWia8D3r6KMqY-Q4DtNVivfJWLTx8B-KzUI8okuA,26880
3
- signalwire_agents/schema.json,sha256=6-7ccbt39iM1CO36dOfvupRPfd0gnQ0XoAdyo-EFyjo,238042
3
+ signalwire_agents/schema.json,sha256=2nuBXteuQUvrmmfbkMocQOTsM5BtUHADtMcjMTK72rA,240060
4
4
  signalwire_agents/agents/bedrock.py,sha256=J582gooNtxtep4xdVOfyDzRtHp_XrurPMS93xf2Xod0,10836
5
5
  signalwire_agents/cli/__init__.py,sha256=XbxAQFaCIdGXIXJiriVBWoFPOJsC401u21588nO4TG8,388
6
6
  signalwire_agents/cli/build_search.py,sha256=Yh5hNM0ur88UMuKo5ZDoN_bAzBGpj2RG1Ys1_3xlfUc,54144
@@ -53,7 +53,7 @@ signalwire_agents/core/agent/tools/__init__.py,sha256=eOcmyeGm6qogT3wsBx7QvdjmTb
53
53
  signalwire_agents/core/agent/tools/decorator.py,sha256=pC6j1114GwVBd2U3h23I9gKLtu8AgeiuWV0lUzz682U,2961
54
54
  signalwire_agents/core/agent/tools/registry.py,sha256=HScbKKwpJqFZ_odmeFklSQ0p0EMasEyKSxNwX568OPo,8054
55
55
  signalwire_agents/core/mixins/__init__.py,sha256=NsFpfF7TDP_lNR0Riw4Nbvt4fDbv_A3OoVbBqRrtXQM,652
56
- signalwire_agents/core/mixins/ai_config_mixin.py,sha256=_m2cVgauRegDVPFW3bVmpskr40UrEcOZto4IXGDkUX4,15897
56
+ signalwire_agents/core/mixins/ai_config_mixin.py,sha256=8SwDnzBuRkD2I5AvY4FutataDo9huOW59Gpr5UDIfRM,16213
57
57
  signalwire_agents/core/mixins/auth_mixin.py,sha256=Y9kR423-76U_pKL7KXzseeXX2a-4WxNWyo3odS7TDQM,9879
58
58
  signalwire_agents/core/mixins/prompt_mixin.py,sha256=bEsuw9J2F_upFYI02KyC7o2eGZjwOKQ352rmJBZirAM,13729
59
59
  signalwire_agents/core/mixins/serverless_mixin.py,sha256=QIIbl_-16XFJi5aqrWpNzORbyCJQmhaplWXnW6U9i68,16137
@@ -130,9 +130,9 @@ signalwire_agents/utils/token_generators.py,sha256=4Mr7baQ_xR_hfJ72YxQRAT_GFa663
130
130
  signalwire_agents/utils/validators.py,sha256=4Mr7baQ_xR_hfJ72YxQRAT_GFa663YjFX_PumJ35Xds,191
131
131
  signalwire_agents/web/__init__.py,sha256=XE_pSTY9Aalzr7J7wqFth1Zr3cccQHPPcF5HWNrOpz8,383
132
132
  signalwire_agents/web/web_service.py,sha256=a2PSHJgX1tlZr0Iz1A1UouZjXEePJAZL632evvLVM38,21071
133
- signalwire_agents-0.1.48.dist-info/licenses/LICENSE,sha256=NYvAsB-rTcSvG9cqHt9EUHAWLiA9YzM4Qfz-mPdvDR0,1067
134
- signalwire_agents-0.1.48.dist-info/METADATA,sha256=OA3_K04wu-qQvWV6uhzRnfAn7HWuf_lvIE_R_7y_fI8,41596
135
- signalwire_agents-0.1.48.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
136
- signalwire_agents-0.1.48.dist-info/entry_points.txt,sha256=ZDT65zfTO_YyDzi_hwQbCxIhrUfu_t8RpNXMMXlUPWI,144
137
- signalwire_agents-0.1.48.dist-info/top_level.txt,sha256=kDGS6ZYv84K9P5Kyg9_S8P_pbUXoHkso0On_DB5bbWc,18
138
- signalwire_agents-0.1.48.dist-info/RECORD,,
133
+ signalwire_agents-0.1.49.dist-info/licenses/LICENSE,sha256=NYvAsB-rTcSvG9cqHt9EUHAWLiA9YzM4Qfz-mPdvDR0,1067
134
+ signalwire_agents-0.1.49.dist-info/METADATA,sha256=VxZ5sTQ3vESbK10ztr5XkLRko2VkGIjUEu6SbcZRfYU,41596
135
+ signalwire_agents-0.1.49.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
136
+ signalwire_agents-0.1.49.dist-info/entry_points.txt,sha256=ZDT65zfTO_YyDzi_hwQbCxIhrUfu_t8RpNXMMXlUPWI,144
137
+ signalwire_agents-0.1.49.dist-info/top_level.txt,sha256=kDGS6ZYv84K9P5Kyg9_S8P_pbUXoHkso0On_DB5bbWc,18
138
+ signalwire_agents-0.1.49.dist-info/RECORD,,