You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(app-studio): GPT-5 temperature limits + unconditional sandbox images (#362)
* fix(app-studio): omit temperature for models that fix it (GPT-5, o-series)
OpenAI's GPT-5 family and the o1/o3/o4 reasoning models reject any
sampling temperature other than the fixed default of 1, returning
"this model has beta-limitations, temperature ... are fixed at 1".
App Studio hard-coded a custom temperature at three call sites, so any
project configured with such a model failed every chat completion.
Add projectModelSupportsTemperature/projectTemperatureOptions helpers
and gate the temperature on model support in the OpenAI model
constructor, project naming, and the turn classifier. Behavior is
unchanged for models that accept a custom temperature (e.g. gpt-4o-mini).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix(app-studio): require sandbox images independent of runtimeKubeconfig
App Studio creates a SandboxRunner for every project's development
environment, and the SandboxRunner spec requires runnerImage and
tokenGeneratorImage. The chart only emitted the image env vars (and only
validated them) when runtimeKubeconfig.secretName was set, coupling a
control-plane concern to the unrelated runtime data plane. With the
runtime kubeconfig disabled in prod, the images were never passed and
every project create failed with:
SandboxRunner ... is invalid: [spec.runnerImage: Required value,
spec.tokenGeneratorImage: Required value]
Require both images unconditionally so a misconfigured install fails at
helm time instead of producing invalid SandboxRunner resources at
runtime, and always render the env vars.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
funcclassifyProjectAssistantTurnWithModel(ctx context.Context, model einomodel.BaseChatModel, history []store.Message) (projectAssistantTurnDecision, error) {
91
+
funcclassifyProjectAssistantTurnWithModel(ctx context.Context, model einomodel.BaseChatModel, history []store.Message, extraOpts...einomodel.Option) (projectAssistantTurnDecision, error) {
einoschema.SystemMessage("Generate concise app project names. Return only JSON with string fields displayName and repositoryName. "+
421
419
"displayName should be 2-5 words, human-readable, and no longer than 64 characters. "+
422
420
"repositoryName must be derived from displayName and must already satisfy DNS-1123 label rules: lowercase a-z, 0-9, hyphen only; starts and ends with alphanumeric; max 63 characters."),
0 commit comments