Skip to main content
Glama
AgentAudioCompositionTests.swift741 B
import Testing @testable import PeekabooCLI @Suite("Agent audio task composition", .tags(.safe)) struct AgentAudioCompositionTests { @Test("Prepends provided task with transcript") func combinesTaskAndTranscript() { let combined = AgentCommand.composeExecutionTask( providedTask: "Ship the release", transcript: "transcribed text" ) #expect(combined.contains("Ship the release")) #expect(combined.contains("Audio transcript")) } @Test("Falls back to transcript when task missing") func usesTranscriptOnly() { let combined = AgentCommand.composeExecutionTask(providedTask: nil, transcript: "hello world") #expect(combined == "hello world") } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/steipete/Peekaboo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server