AskResult
Defined in: src/session.ts:47
Result returned from Session.ask()
Properties
inferenceTimeMs
inferenceTimeMs:
number
Defined in: src/session.ts:57
Total time taken for inference in milliseconds
invalidLinks
invalidLinks:
InvalidLink[]
Defined in: src/session.ts:61
Links in the response whose repo-relative paths could not be found on disk
prompt
prompt:
string
Defined in: src/session.ts:49
The original question/prompt
response
response:
string
Defined in: src/session.ts:53
The final response text (or error message)
responseEffort?
optionalresponseEffort?:string
Defined in: src/session.ts:63
The effort level the model actually used (from response output_config). Undefined if thinking is off.
toolCalls
toolCalls:
ToolCallRecord[]
Defined in: src/session.ts:51
List of tool calls made while answering
totalLinks
totalLinks:
number
Defined in: src/session.ts:59
Total number of repo-pointing links found in the response
usage
usage:
Usage
Defined in: src/session.ts:55
Token usage statistics