Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ creditsToFakeCost
Function
creditsToFakeCost
web/src/llm-api/siliconflow.ts:633–635 ·
view source on GitHub ↗
(credits: number)
Source
from the content-addressed store, hash-verified
631
}
632
633
function
creditsToFakeCost(credits: number): number {
634
return
credits / ((1 + PROFIT_MARGIN) * 100)
635
}
Callers
2
handleSiliconFlowNonStream
Function · 0.70
handleLine
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected