Cleanup image semantics in code mode.
`view_image` now returns `{image_url:string, details?: string}`
`image()` now allows both string parameter and `{image_url:string,
details?: string}`
19 lines
539 B
TOML
19 lines
539 B
TOML
[package]
|
|
name = "codex-utils-image"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
base64 = { workspace = true }
|
|
image = { workspace = true, features = ["jpeg", "png", "gif", "webp"] }
|
|
codex-utils-cache = { workspace = true }
|
|
mime_guess = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["fs", "rt", "rt-multi-thread", "macros"] }
|
|
|
|
[dev-dependencies]
|
|
image = { workspace = true, features = ["jpeg", "png", "gif", "webp"] }
|