Skip to content

support open router #437

Description

@timzaak

It's a popular ai router for Test. the error log is:

04T03:15:47.100060Z  INFO request{method=POST uri=/admin/api/v1/endpoints/validate version=HTTP/1.1}:validate_inference_endpoint: dwctl::api::handlers::inference_endpoints: Validating endpoint: url=https://openrouter.ai/api/v1, has_api_key=true, auth_header_name=None, auth_header_prefix=None
2026-01-04T03:15:48.672879Z ERROR request{method=POST uri=/admin/api/v1/endpoints/validate version=HTTP/1.1}:validate_inference_endpoint: dwctl::sync::deployments::fetch_models: Failed to make request to openAI-compatible API for models
2026-01-04T03:15:48.673035Z ERROR request{method=POST uri=/admin/api/v1/endpoints/validate version=HTTP/1.1}:validate_inference_endpoint: dwctl::sync::deployments::fetch_models: Failed to parse models response as JSON. Error: missing field `object` at line 1 column 1096
2026-01-04T03:15:48.673103Z ERROR request{method=POST uri=/admin/api/v1/endpoints/validate version=HTTP/1.1}:validate_inference_endpoint: dwctl::sync::deployments::fetch_models: Response body was: {"data":[{"id":"bytedance-seed/seed-1.6-flash","canonical_slug":"bytedance-seed/seed-1.6-flash-20250625","hugging_face_id":"","name":"ByteDance Seed: Seed 1.6 Flash","created":1766505011,"description":"Seed 1.6 Flash is an ultra-fast multimodal deep  ....

2026-01-04T03:17:20.280337Z ERROR request{method=POST uri=/admin/api/v1/endpoints/validate version=HTTP/1.1}:validate_inference_endpoint: dwctl::api::handlers::inference_endpoints: Failed to fetch models: error decoding response body: missing field `object` at line 1 column 1096
2026-01-04T03:17:20.280662Z ERROR request{method=POST uri=/admin/api/v1/endpoints/validate version=HTTP/1.1}: dwctl::errors: Internal service error: error decoding response body: missing field `object` at line 1 column 1096

Metadata

Metadata

Labels

control-layerDefault label for syncing issues

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions