mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 05:31:02 +00:00
Log all session metadata (#6423)
This commit is contained in:
parent
b9cf1ea3ce
commit
b561d3bbed
6 changed files with 108 additions and 112 deletions
|
|
@ -55,6 +55,11 @@ const mockConfig = {
|
|||
getApprovalMode: vi.fn(() => ApprovalMode.DEFAULT),
|
||||
getUsageStatisticsEnabled: () => true,
|
||||
getDebugMode: () => false,
|
||||
getSessionId: () => 'test-session-id',
|
||||
getContentGeneratorConfig: () => ({
|
||||
model: 'test-model',
|
||||
authType: 'oauth-personal',
|
||||
}),
|
||||
};
|
||||
|
||||
class MockToolInvocation extends BaseToolInvocation<object, ToolResult> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue