pub fn encode_code_chunk(code: &str) -> ChunkExpand description
Encodes source code as the code-input chunk.
§Example
use adk_code::vertex_sandbox::encode_code_chunk;
let chunk = encode_code_chunk("print('hi')");
assert_eq!(chunk.mime_type.as_deref(), Some("application/json"));