feat: route Artificer models across upstreams (#360)
Pipelines as Code CI / agentrun-nc01-v02-ci-624654f74d847ee42a445585ed583f1955b478b6 Success

Co-authored-by: AgentRun Codex <agentrun-codex@users.noreply.github.com>
This commit is contained in:
Lyon
2026-07-15 01:07:45 +08:00
committed by GitHub
parent 08ad62ffe4
commit 624654f74d
5 changed files with 414 additions and 44 deletions
+30 -12
View File
@@ -14,10 +14,36 @@ spec:
lane: v0.2
priority: 50
providerId: NC01
backendProfile: gpt-pika
model:
model: gpt-5.6-sol
reasoningEffort: medium
upstreams:
pika:
backendProfile: gpt-pika
providerCredential:
secretRef:
namespace: agentrun-v02
name: agentrun-v02-provider-gpt-pika
keys:
- auth.json
- config.toml
grok:
backendProfile: grok
providerCredential:
secretRef:
namespace: agentrun-v02
name: agentrun-v02-provider-grok
keys:
- auth.json
- config.toml
modelRouting:
default:
upstream: pika
model: gpt-5.6-sol
reasoningEffort: medium
exact:
gpt-5.6-sol:
upstream: pika
grok:
upstream: grok
reasoningEffort: xhigh
imageRef:
kind: env-image-dockerfile
repoUrl: git@github.com:pikasTech/agentrun.git
@@ -36,14 +62,6 @@ spec:
email: agentrun-codex@users.noreply.github.com
secretScope:
allowCredentialEcho: false
providerCredentials:
- profile: gpt-pika
secretRef:
namespace: agentrun-v02
name: agentrun-v02-provider-gpt-pika
keys:
- auth.json
- config.toml
toolCredentials:
- tool: github
purpose: github-pr