agentos-sdk-python 2.0.0__tar.gz → 3.0.0__tar.gz

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.
Files changed (41) hide show
  1. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/CHANGELOG.md +11 -0
  2. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/PKG-INFO +4 -3
  3. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/README-zh_CN.md +3 -2
  4. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/README.md +3 -2
  5. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/RELEASE.md +7 -7
  6. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/modelkit.py +3 -2
  7. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/normalizers.py +6 -1
  8. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/protocol.py +9 -5
  9. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/sdk.py +4 -2
  10. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/pyproject.toml +1 -1
  11. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_modelkit.py +7 -3
  12. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_sdk_facade.py +1 -1
  13. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/typecheck/modelkit_usage.py +3 -2
  14. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/.gitignore +0 -0
  15. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/LICENSE +0 -0
  16. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/__init__.py +0 -0
  17. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/__init__.py +0 -0
  18. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/agentkit.py +0 -0
  19. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/appkit.py +0 -0
  20. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/authkit.py +0 -0
  21. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/cronkit.py +0 -0
  22. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/discoverykit.py +0 -0
  23. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/harnesskit.py +0 -0
  24. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/notifykit.py +0 -0
  25. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/systemkit.py +0 -0
  26. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/toolkit.py +0 -0
  27. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/clients/transferkit.py +0 -0
  28. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/handlers.py +0 -0
  29. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/py.typed +0 -0
  30. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/agentos_sdk/transport.py +0 -0
  31. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_agentkit.py +0 -0
  32. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_cronkit.py +0 -0
  33. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_harnesskit.py +0 -0
  34. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_normalizers.py +0 -0
  35. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_notifykit.py +0 -0
  36. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_protocol.py +0 -0
  37. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_toolkit.py +0 -0
  38. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/test_transport.py +0 -0
  39. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/typecheck/harnesskit_usage.py +0 -0
  40. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/typecheck/notifykit_usage.py +0 -0
  41. {agentos_sdk_python-2.0.0 → agentos_sdk_python-3.0.0}/tests/typecheck/toolkit_usage.py +0 -0
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0
4
+
5
+ - **Breaking change.** Include `baseUrl` and `endpointProtocol` alongside
6
+ `name` in the request to `register_app_model`. Use `AppModelRegistration`
7
+ for registration and `AppModelUpdate` for partial updates. Both request
8
+ types accept optional `adapterSettings`.
9
+ - Model and app model listings recognize the `image`, `video`, and `music`
10
+ task values. When the gateway supplies them, `list_models()` returns
11
+ `endpointProtocol` and `provider`, and `list_app_models()` returns
12
+ `endpointProtocol`.
13
+
3
14
  ## 2.0.0
4
15
 
5
16
  - **Breaking:** Nearby discovery is device-level. Removed `register` and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentos-sdk-python
3
- Version: 2.0.0
3
+ Version: 3.0.0
4
4
  Summary: Async Python SDK for AgentOS APIs.
5
5
  Project-URL: Repository, https://gitlab.litevar.com/litevar/agentos/agentos-sdk-python
6
6
  Project-URL: Issues, https://gitlab.litevar.com/litevar/agentos/agentos-sdk-python/-/issues
@@ -308,7 +308,7 @@ only present when the gateway reports it. Only chat models report
308
308
  text, so the key is absent for them); a chat model that reports
309
309
  `contextWindowSize` reports `maxOutputTokens` too, using the same number when it
310
310
  has no value of its own. Apps can set both when registering a model
311
- (`register_app_model(request={"name": ..., "contextWindowSize": 32768,
311
+ (`register_app_model(request={"name": ..., "baseUrl": ..., "endpointProtocol": ..., "contextWindowSize": 32768,
312
312
  "maxOutputTokens": 4096})`); app model records report them back, and
313
313
  `update_app_model` can change them.
314
314
 
@@ -388,11 +388,12 @@ your model. A `name` is unique within your app; different apps may use the same
388
388
  async with AgentOSSDK() as sdk:
389
389
  await sdk.agentos.register_bundle({"bundleId": "com.example.app"})
390
390
 
391
- # Register (or replace) a model. Only "name" is required.
391
+ # Register (or replace) a model. The required fields are `name`, `baseUrl` and `endpointProtocol`.
392
392
  result = await sdk.modelkit.register_app_model(
393
393
  request={
394
394
  "name": "my-router",
395
395
  "task": "decision",
396
+ "endpointProtocol": "/v1/systemone",
396
397
  "baseUrl": "http://127.0.0.1:9000",
397
398
  "apiKey": "upstream-secret", # stored by the server, never returned
398
399
  }
@@ -266,7 +266,7 @@ token 数);`maxOutputTokens` 仅在网关返回时才存在。只有 chat
266
266
  `maxOutputTokens`(embedding、ASR、TTS、decision 模型不生成文本,不包含该键);返回了
267
267
  `contextWindowSize` 的 chat 模型一定会返回 `maxOutputTokens`,模型自身没有该值时与
268
268
  `contextWindowSize` 相同。App 注册模型时可同时设置两者
269
- (`register_app_model(request={"name": ..., "contextWindowSize": 32768,
269
+ (`register_app_model(request={"name": ..., "baseUrl": ..., "endpointProtocol": ..., "contextWindowSize": 32768,
270
270
  "maxOutputTokens": 4096})`);app 模型记录会原样返回,`update_app_model` 也可以修改。
271
271
 
272
272
  ModelKit 还支持:
@@ -342,11 +342,12 @@ App 可以把自己的模型注册到网关。注册后的模型会出现在 `li
342
342
  async with AgentOSSDK() as sdk:
343
343
  await sdk.agentos.register_bundle({"bundleId": "com.example.app"})
344
344
 
345
- # 注册(或替换)模型,只有 "name" 必填。
345
+ # 注册(或替换)模型,必填字段为 `name`、`baseUrl` 和 `endpointProtocol`。
346
346
  result = await sdk.modelkit.register_app_model(
347
347
  request={
348
348
  "name": "my-router",
349
349
  "task": "decision",
350
+ "endpointProtocol": "/v1/systemone",
350
351
  "baseUrl": "http://127.0.0.1:9000",
351
352
  "apiKey": "upstream-secret", # 由服务端保存,不会再返回
352
353
  }
@@ -274,7 +274,7 @@ only present when the gateway reports it. Only chat models report
274
274
  text, so the key is absent for them); a chat model that reports
275
275
  `contextWindowSize` reports `maxOutputTokens` too, using the same number when it
276
276
  has no value of its own. Apps can set both when registering a model
277
- (`register_app_model(request={"name": ..., "contextWindowSize": 32768,
277
+ (`register_app_model(request={"name": ..., "baseUrl": ..., "endpointProtocol": ..., "contextWindowSize": 32768,
278
278
  "maxOutputTokens": 4096})`); app model records report them back, and
279
279
  `update_app_model` can change them.
280
280
 
@@ -354,11 +354,12 @@ your model. A `name` is unique within your app; different apps may use the same
354
354
  async with AgentOSSDK() as sdk:
355
355
  await sdk.agentos.register_bundle({"bundleId": "com.example.app"})
356
356
 
357
- # Register (or replace) a model. Only "name" is required.
357
+ # Register (or replace) a model. The required fields are `name`, `baseUrl` and `endpointProtocol`.
358
358
  result = await sdk.modelkit.register_app_model(
359
359
  request={
360
360
  "name": "my-router",
361
361
  "task": "decision",
362
+ "endpointProtocol": "/v1/systemone",
362
363
  "baseUrl": "http://127.0.0.1:9000",
363
364
  "apiKey": "upstream-secret", # stored by the server, never returned
364
365
  }
@@ -12,8 +12,8 @@ The Python import package remains `agentos_sdk`.
12
12
  ```bash
13
13
  .venv/bin/python -m pytest -q
14
14
  .venv/bin/ruff check .
15
- .venv/bin/python -m build --no-isolation --outdir dist/2.0.0
16
- .venv/bin/python -m twine check dist/2.0.0/*
15
+ .venv/bin/python -m build --no-isolation --outdir dist/3.0.0
16
+ .venv/bin/python -m twine check --strict dist/3.0.0/*
17
17
  ```
18
18
 
19
19
  ## TestPyPI
@@ -21,7 +21,7 @@ The Python import package remains `agentos_sdk`.
21
21
  Upload to TestPyPI first:
22
22
 
23
23
  ```bash
24
- .venv/bin/python -m twine upload --repository testpypi dist/2.0.0/*
24
+ .venv/bin/python -m twine upload --repository testpypi dist/3.0.0/*
25
25
  ```
26
26
 
27
27
  Install from TestPyPI in a clean environment:
@@ -31,7 +31,7 @@ python3 -m venv /tmp/agentos-sdk-python-test
31
31
  /tmp/agentos-sdk-python-test/bin/python -m pip install \
32
32
  --index-url https://test.pypi.org/simple/ \
33
33
  --extra-index-url https://pypi.org/simple/ \
34
- agentos-sdk-python==2.0.0
34
+ agentos-sdk-python==3.0.0
35
35
  /tmp/agentos-sdk-python-test/bin/python -c "from agentos_sdk import AgentOSSDK; print(AgentOSSDK)"
36
36
  ```
37
37
 
@@ -40,14 +40,14 @@ python3 -m venv /tmp/agentos-sdk-python-test
40
40
  Upload to PyPI:
41
41
 
42
42
  ```bash
43
- .venv/bin/python -m twine upload dist/2.0.0/*
43
+ .venv/bin/python -m twine upload dist/3.0.0/*
44
44
  ```
45
45
 
46
46
  Tag the released commit:
47
47
 
48
48
  ```bash
49
- git tag v2.0.0
50
- git push github v2.0.0
49
+ git tag v3.0.0
50
+ git push github v3.0.0
51
51
  ```
52
52
 
53
53
  ## Authentication
@@ -10,6 +10,7 @@ from agentos_sdk.normalizers import (
10
10
  normalize_model_info,
11
11
  serialize_chat_request,
12
12
  )
13
+ from agentos_sdk.protocol import AppModelRegistration, AppModelUpdate
13
14
  from agentos_sdk.transport import ApiClient, iter_sse
14
15
 
15
16
 
@@ -163,7 +164,7 @@ class ModelKitClient:
163
164
  return [normalize_app_model(item) for item in data]
164
165
 
165
166
  async def register_app_model(
166
- self, bearer_token: str, request: Mapping[str, Any]
167
+ self, bearer_token: str, request: AppModelRegistration
167
168
  ) -> dict[str, Any]:
168
169
  """Register (or replace) an app model (``POST /modelkit/app-models``).
169
170
 
@@ -187,7 +188,7 @@ class ModelKitClient:
187
188
  )
188
189
 
189
190
  async def update_app_model(
190
- self, bearer_token: str, model_id: str, request: Mapping[str, Any]
191
+ self, bearer_token: str, model_id: str, request: AppModelUpdate
191
192
  ) -> dict[str, Any]:
192
193
  """Partially update an owned app model (``PUT /modelkit/app-models/<id>``).
193
194
 
@@ -94,7 +94,7 @@ def normalize_agent_event_name(event_type: str) -> str:
94
94
  return event_type
95
95
 
96
96
 
97
- MODEL_TASKS = {"chat", "embedding", "asr", "tts", "decision"}
97
+ MODEL_TASKS = {"chat", "embedding", "asr", "tts", "decision", "image", "video", "music"}
98
98
  MODALITIES = {"text", "image", "audio", "video", "decisions"}
99
99
  MODEL_SOURCES = {"local", "platform", "custom", "app"}
100
100
  # Wire values of ``billingType`` (the same as the AgentOS server's model list); parsing is case-insensitive.
@@ -175,6 +175,9 @@ def normalize_model_info(item: Mapping[str, Any]) -> dict[str, Any]:
175
175
  value = str(item[key]).strip() if item.get(key) is not None else ""
176
176
  if value:
177
177
  result[key] = value
178
+ for key in ("endpointProtocol", "provider"):
179
+ if item.get(key):
180
+ result[key] = str(item[key])
178
181
  return result
179
182
 
180
183
 
@@ -205,6 +208,8 @@ def normalize_app_model(item: Mapping[str, Any]) -> dict[str, Any]:
205
208
  result["contextWindowSize"] = item["contextWindowSize"]
206
209
  if item.get("maxOutputTokens") is not None:
207
210
  result["maxOutputTokens"] = item["maxOutputTokens"]
211
+ if item.get("endpointProtocol"):
212
+ result["endpointProtocol"] = str(item["endpointProtocol"])
208
213
  return result
209
214
 
210
215
 
@@ -6,7 +6,7 @@ from typing_extensions import NotRequired
6
6
 
7
7
  JsonMap = dict[str, Any]
8
8
  ContentType = Literal["text", "imageUrl"]
9
- ModelTask = Literal["chat", "embedding", "asr", "tts", "decision"]
9
+ ModelTask = Literal["chat", "embedding", "asr", "tts", "decision", "image", "video", "music"]
10
10
  Modality = Literal["text", "image", "audio", "video", "decisions"]
11
11
  # 模型互斥的来源,对应网关 ``/modelkit/models`` 的 ``source`` 字段。
12
12
  ModelSource = Literal["local", "platform", "custom", "app"]
@@ -321,6 +321,7 @@ class AppModel(TypedDict):
321
321
  alias: str
322
322
  description: str
323
323
  task: ModelTask
324
+ endpointProtocol: NotRequired[str]
324
325
  provider: str
325
326
  input: list[Modality]
326
327
  output: list[Modality]
@@ -338,7 +339,7 @@ class AppModel(TypedDict):
338
339
  class AppModelRegistration(TypedDict):
339
340
  """Request body of ``register_app_model``.
340
341
 
341
- Only ``name`` is required; unset fields are omitted so the server applies
342
+ ``name``, ``endpointProtocol`` and ``baseUrl`` are required; unset fields are omitted so the server applies
342
343
  its own defaults. The model id is not part of the request: the gateway
343
344
  generates it and returns it in ``AppModelWriteResult.id``.
344
345
 
@@ -351,11 +352,13 @@ class AppModelRegistration(TypedDict):
351
352
  alias: NotRequired[str]
352
353
  description: NotRequired[str]
353
354
  task: NotRequired[ModelTask]
355
+ endpointProtocol: str
356
+ adapterSettings: NotRequired[JsonMap]
354
357
  provider: NotRequired[str]
355
358
  input: NotRequired[list[Modality]]
356
359
  output: NotRequired[list[Modality]]
357
360
  capabilities: NotRequired[dict[str, bool]]
358
- baseUrl: NotRequired[str]
361
+ baseUrl: str
359
362
  apiKey: NotRequired[str]
360
363
  contextWindowSize: NotRequired[int]
361
364
  # Maximum number of tokens the model can generate in one response.
@@ -367,8 +370,7 @@ class AppModelRegistration(TypedDict):
367
370
  class AppModelUpdate(TypedDict, total=False):
368
371
  """Request body of ``update_app_model`` (partial update).
369
372
 
370
- Unset fields are left unchanged. ``apiKey`` is overwritten only when
371
- non-empty. When ``task`` changes, input/output/capabilities that are not
373
+ Changing provider or origin clears the saved key unless a new one is supplied. When ``task`` changes, input/output/capabilities that are not
372
374
  provided are reset to the new task's defaults. The owning ``appBundleId``
373
375
  cannot be changed.
374
376
  """
@@ -377,6 +379,8 @@ class AppModelUpdate(TypedDict, total=False):
377
379
  alias: str
378
380
  description: str
379
381
  task: ModelTask
382
+ endpointProtocol: str
383
+ adapterSettings: JsonMap
380
384
  provider: str
381
385
  input: list[Modality]
382
386
  output: list[Modality]
@@ -33,6 +33,8 @@ from agentos_sdk.handlers import (
33
33
  from agentos_sdk.protocol import (
34
34
  AccessToken,
35
35
  AgentMessage,
36
+ AppModelRegistration,
37
+ AppModelUpdate,
36
38
  HarnessKitCommandReceipt,
37
39
  HarnessKitEngineId,
38
40
  HarnessKitEngineSwitchResult,
@@ -693,7 +695,7 @@ class ModelKitModule:
693
695
  """List models registered by apps. No app registration needed."""
694
696
  return await self._sdk.modelKit.list_app_models()
695
697
 
696
- async def register_app_model(self, *, request: Mapping[str, Any]) -> dict[str, Any]:
698
+ async def register_app_model(self, *, request: AppModelRegistration) -> dict[str, Any]:
697
699
  """Register (or replace) a model owned by the current app.
698
700
 
699
701
  Requires ``register_bundle`` first; the app token is attached automatically.
@@ -703,7 +705,7 @@ class ModelKitModule:
703
705
  )
704
706
 
705
707
  async def update_app_model(
706
- self, *, model_id: str, request: Mapping[str, Any]
708
+ self, *, model_id: str, request: AppModelUpdate
707
709
  ) -> dict[str, Any]:
708
710
  """Partially update a model owned by the current app."""
709
711
  return await self._sdk._with_app_auth_retry(
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "agentos-sdk-python"
7
- version = "2.0.0"
7
+ version = "3.0.0"
8
8
  description = "Async Python SDK for AgentOS APIs."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -414,7 +414,8 @@ async def test_list_app_models_is_public_and_normalizes_fields():
414
414
  "alias": "router",
415
415
  "description": "routes requests",
416
416
  "task": "decision",
417
- "provider": "openai_compatible",
417
+ "provider": "jev",
418
+ "endpointProtocol": "/v1/systemone",
418
419
  "input": ["text"],
419
420
  "output": ["decisions"],
420
421
  "capabilities": {"stream": False, "tool_call": False, "reasoning": False},
@@ -442,7 +443,8 @@ async def test_list_app_models_is_public_and_normalizes_fields():
442
443
  "alias": "router",
443
444
  "description": "routes requests",
444
445
  "task": "decision",
445
- "provider": "openai_compatible",
446
+ "provider": "jev",
447
+ "endpointProtocol": "/v1/systemone",
446
448
  "input": ["text"],
447
449
  "output": ["decisions"],
448
450
  "capabilities": {"stream": False, "tool_call": False, "reasoning": False},
@@ -480,6 +482,7 @@ async def test_app_model_write_calls_send_bearer_token_and_id_paths():
480
482
  {
481
483
  "name": "router",
482
484
  "task": "decision",
485
+ "endpointProtocol": "/v1/systemone",
483
486
  "baseUrl": "http://127.0.0.1:9000",
484
487
  "apiKey": "secret",
485
488
  "contextWindowSize": 8192,
@@ -512,6 +515,7 @@ async def test_app_model_write_calls_send_bearer_token_and_id_paths():
512
515
  assert json.loads(seen[0].content.decode()) == {
513
516
  "name": "router",
514
517
  "task": "decision",
518
+ "endpointProtocol": "/v1/systemone",
515
519
  "baseUrl": "http://127.0.0.1:9000",
516
520
  "apiKey": "secret",
517
521
  "contextWindowSize": 8192,
@@ -535,7 +539,7 @@ async def test_register_app_model_keeps_id_conflict_status():
535
539
  return httpx.Response(409, json=message)
536
540
 
537
541
  with pytest.raises(ApiError) as error:
538
- await _modelkit(handler).register_app_model("token-1", {"name": "x"})
542
+ await _modelkit(handler).register_app_model("token-1", {"name": "x", "baseUrl": "http://localhost:9000", "endpointProtocol": "/v1/chat/completions"})
539
543
 
540
544
  assert error.value.status == 409
541
545
  assert error.value.data == message
@@ -556,7 +556,7 @@ async def test_modelkit_app_model_facade_refreshes_token_after_401_and_retries_o
556
556
  ) as sdk:
557
557
  await sdk.agentos.register_bundle({"bundleId": "com.demo.app"})
558
558
  registered = await sdk.modelkit.register_app_model(
559
- request={"name": "router"}
559
+ request={"name": "router", "baseUrl": "http://localhost:9000", "endpointProtocol": "/v1/chat/completions"}
560
560
  )
561
561
  updated = await sdk.modelkit.update_app_model(
562
562
  model_id="6f78dcce6717", request={"name": "r2"}
@@ -57,11 +57,12 @@ source: ModelSource = "app"
57
57
  invalid_source: ModelSource = "system" # type: ignore[assignment]
58
58
 
59
59
  # The gateway generates the model id; it is not part of the registration.
60
- registration: AppModelRegistration = {"name": "router"}
61
- invalid_registration: AppModelRegistration = {"name": "router", "id": "router"} # type: ignore[typeddict-unknown-key]
60
+ registration: AppModelRegistration = {"name": "router", "endpointProtocol": "/v1/chat/completions", "baseUrl": "http://localhost:9000"}
61
+ invalid_registration: AppModelRegistration = {"name": "router", "endpointProtocol": "/v1/chat/completions", "baseUrl": "http://localhost:9000", "id": "router"} # type: ignore[typeddict-unknown-key]
62
62
  full_registration: AppModelRegistration = {
63
63
  "name": "router",
64
64
  "task": "decision",
65
+ "endpointProtocol": "/v1/systemone",
65
66
  "baseUrl": "http://127.0.0.1:9000",
66
67
  "apiKey": "secret",
67
68
  "capabilities": {"reasoning": False},