Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions js/app/packages/core/component/AI/assets/openai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions js/app/packages/core/component/AI/constant/model.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import AnthropicIcon from '@core/component/AI/assets/anthropic.svg';
import OpenAiIcon from '@core/component/AI/assets/openai.svg';
import type { TModel } from '@core/component/AI/types';

export { Model } from '@core/component/AI/types';
Expand All @@ -13,6 +14,8 @@ export const MODEL_PRETTYNAME: ExhaustiveMap = {
opus4_7: 'Opus 4.7',
sonnet4_6: 'Sonnet 4.6',
haiku4_5: 'Haiku 4.5',
gpt5_5: 'GPT-5.5',
gpt5Mini: 'GPT-5 mini',
retired: 'Retired',
} as const;

Expand All @@ -22,6 +25,8 @@ export const MODEL_PROVIDER_ICON: ExhaustiveMap = {
opus4_7: AnthropicIcon,
sonnet4_6: AnthropicIcon,
haiku4_5: AnthropicIcon,
gpt5_5: OpenAiIcon,
gpt5Mini: OpenAiIcon,
retired: AnthropicIcon,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ export const AgentModel = {
opus4_7: 'opus4_7',
sonnet4_6: 'sonnet4_6',
haiku4_5: 'haiku4_5',
gpt5_5: 'gpt5_5',
gpt5Mini: 'gpt5Mini',
retired: 'retired',
} as const;
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ export type Model = (typeof Model)[keyof typeof Model];
export const Model = {
'claude-opus-4-7': 'claude-opus-4-7',
'claude-haiku-4-5': 'claude-haiku-4-5',
'gpt-5.5': 'gpt-5.5',
'gpt-5-mini': 'gpt-5-mini',
} as const;

export const AllModels: Model[] = [
'claude-opus-4-7',
'claude-haiku-4-5',
'gpt-5.5',
'gpt-5-mini',
] as const;
const values: [Model, ...Model[]] = [
Object.values(Model)[0],
Expand Down
11 changes: 10 additions & 1 deletion js/app/packages/service-clients/service-cognition/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,16 @@
"AgentModel": {
"type": "string",
"description": "Model to use for completions.\n\nUnrecognized model strings (including retired Google/OpenAI variants\nfrom older data) deserialize to `Retired` via the manual\n`Deserialize` impl.",
"enum": ["smart", "fast", "opus4_7", "sonnet4_6", "haiku4_5", "retired"]
"enum": [
"smart",
"fast",
"opus4_7",
"sonnet4_6",
"haiku4_5",
"gpt5_5",
"gpt5Mini",
"retired"
]
},
"AssistantMessagePart": {
"oneOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ export const AgentModel = {
opus4_7: 'opus4_7',
sonnet4_6: 'sonnet4_6',
haiku4_5: 'haiku4_5',
gpt5_5: 'gpt5_5',
gpt5Mini: 'gpt5Mini',
retired: 'retired',
} as const;
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,16 @@
"AgentModel": {
"type": "string",
"description": "Model to use for completions.\n\nUnrecognized model strings (including retired Google/OpenAI variants\nfrom older data) deserialize to `Retired` via the manual\n`Deserialize` impl.",
"enum": ["smart", "fast", "opus4_7", "sonnet4_6", "haiku4_5", "retired"]
"enum": [
"smart",
"fast",
"opus4_7",
"sonnet4_6",
"haiku4_5",
"gpt5_5",
"gpt5Mini",
"retired"
]
},
"AgentTask": {
"type": "object",
Expand Down
132 changes: 10 additions & 122 deletions rust/cloud-storage/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion rust/cloud-storage/agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ async-openai = { workspace = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
rig-core = "0.37"
# Macro fork of rig (upstream main + with_non_strict_tools() on Responses
# API models). Drop back to crates.io once the patch lands upstream.
rig-core = { git = "https://github.com/macro-inc/rig", branch = "feat/responses-api-non-strict-tools" }
schemars = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
Expand Down
Loading
Loading