Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/849261680/chat-resume
/ functions
Functions
2,975 in github.com/849261680/chat-resume
⨍
Functions
2,975
◇
Types & classes
398
↳
Endpoints
56
↓ 1 callers
Function
run_single_scenario
用于执行一次完整面试链路并记录每个阶段。
eval/measure_interview_pipeline.py:310
↓ 1 callers
Function
run_stream
用于拉取模型流并写入本地事件队列。
backend/app/runtime/pi_agent_openrouter.py:67
↓ 1 callers
Method
run_stream
用于执行一次 Resume Agent run 并按 SSE 事件流式返回。
backend/app/agents/resume/runner.py:113
↓ 1 callers
Method
run_until_final
用于按 SDK 官方 RunState 模式处理 streaming approval/resume。
backend/app/runtime/openai_agents_adapter.py:488
↓ 1 callers
Method
run_valid_arguments
用于执行参数合法工具的确认和最终工具输出。
backend/app/agents/resume/tool_execution_flow.py:100
↓ 1 callers
Method
safe_tool_input
用于避免日志记录完整简历或长文本。
backend/app/agents/resume/tool_execution.py:1101
↓ 1 callers
Function
save_report
保存 JSON 详细报告。
backend/scripts/run_eval.py:261
↓ 1 callers
Function
save_report
用于把评估报告写入 JSON 文件。
eval/run_excellent_eval.py:227
↓ 1 callers
Function
save_results
用于把本地 eval 结果写到 JSON 文件。
eval/run_eval.py:129
↓ 1 callers
Method
save_uploaded_file
保存上传的文件并返回文件路径
backend/app/services/domain/file_service.py:34
↓ 1 callers
Function
scenario_payloads
用于把默认场景扩展成实际执行列表。
eval/measure_interview_pipeline.py:157
↓ 1 callers
Function
scoreGrade
(score: number)
frontend/src/app/[locale]/resume/[id]/interview/page.tsx:919
↓ 1 callers
Function
score_all
用于评分all。
eval/score.py:325
↓ 1 callers
Function
score_decision_rule
用于评分decisionrule。
eval/analyze_results.py:252
↓ 1 callers
Function
score_decision_rule
对 optimize-first 决策规则做定向评分。
eval/score.py:45
↓ 1 callers
Function
score_forbidden_content
用于评分forbiddencontent。
eval/analyze_results.py:112
↓ 1 callers
Function
score_keyword_improvement
计算单个用例的关键词匹配率提升。
eval/score.py:126
↓ 1 callers
Function
score_keywords
用于评分keywords。
eval/analyze_results.py:89
↓ 1 callers
Function
score_llm_judge
用于评分llmjudge。
eval/analyze_results.py:351
↓ 1 callers
Function
score_refusal
用于评分refusal。
eval/analyze_results.py:209
↓ 1 callers
Function
score_runtime_stability
用于评分runtimestability。
eval/analyze_results.py:316
↓ 1 callers
Function
score_tool_calls
用于评分toolcalls。
eval/analyze_results.py:144
↓ 1 callers
Function
score_tool_correctness
检查 Agent 实际调用的工具是否符合预期。
eval/score.py:155
↓ 1 callers
Method
sdk_preview_result
用于为 SDK HITL 生成不落库的工具预览。
backend/app/agents/resume/tool_execution.py:900
↓ 1 callers
Function
section_is_hidden
用于判断工具是否正在修改当前不可见板块。
backend/app/tools/resume/registry.py:1122
↓ 1 callers
Function
section_is_unsupported
用于判断工具参数里的板块是否不在工具定义范围内。
backend/app/tools/resume/registry.py:1135
↓ 1 callers
Function
sendStreamingMessage
(message: string, chatHistory: ChatMessage[] = [])
frontend/src/hooks/useStreamingChat.ts:156
↓ 1 callers
Method
send_password_reset
用于发送包含密码重置链接的邮件。
backend/app/services/auth/password_reset_mailer.py:18
↓ 1 callers
Function
serialize_session_summary
用于把面试 session 转成列表页摘要结构。
backend/app/services/interview/serializer.py:88
↓ 1 callers
Function
serialize_turn_evaluation
用于把 turn evaluation 统一转成结构化字典。
backend/app/services/interview/serializer.py:21
↓ 1 callers
Method
sessionId
()
frontend/src/hooks/streamingUiSession.ts:116
↓ 1 callers
Function
sessionMatchesQuery
(session: InterviewSessionSummary, query: string)
frontend/src/app/[locale]/interviews/page.tsx:204
↓ 1 callers
Function
sessionMatchesStatus
(session: InterviewSessionSummary, filter: SessionStatusFilter)
frontend/src/app/[locale]/interviews/page.tsx:212
↓ 1 callers
Function
session_started_event
用于构造简历 Agent 流式会话开始事件。
backend/app/types/stream.py:136
↓ 1 callers
Function
setResumeSpacingScale
( config: ResumeLayoutConfig, spacingScale: number, )
frontend/src/lib/resumeLayoutConfig.ts:203
↓ 1 callers
Function
shortClientRequestId
(clientRequestId: string)
frontend/src/hooks/useStreamingChat.ts:90
↓ 1 callers
Function
shortPath
(urlString)
frontend/scripts/measure-production.mjs:111
↓ 1 callers
Function
shouldYieldBeforePendingEvent
( previousEvents: StreamEvent[], event: StreamEvent | null, )
frontend/src/hooks/streamingEventProtocol.ts:170
↓ 1 callers
Method
should_terminate_after_tool_result
用于识别 Pi-style 终止型工具结果。
backend/app/agents/resume/agent_loop.py:633
↓ 1 callers
Function
sleep
(ms: number)
frontend/src/app/[locale]/resumes/page.tsx:81
↓ 1 callers
Function
sleep
(ms)
frontend/scripts/measure-production.mjs:76
↓ 1 callers
Function
splitProjectNameDescription
(name: string)
frontend/src/components/preview/sections/ProjectsPreview.tsx:65
↓ 1 callers
Function
splitSetCookieHeader
(headerValue)
frontend/scripts/measure-production.mjs:122
↓ 1 callers
Method
start
()
frontend/e2e/interview-session.spec.ts:365
↓ 1 callers
Function
start_request_metrics
用于在请求开始时初始化一份新的数据库耗时快照。
backend/app/infra/db_request_logging.py:33
↓ 1 callers
Function
streamEventFromSsePayload
( data: Record<string, unknown>, fallbackToolName: string, )
frontend/src/hooks/streamingEventProtocol.ts:270
↓ 1 callers
Function
stream_done_event
用于构造简历 Agent 流式会话完成事件。
backend/app/types/stream.py:146
↓ 1 callers
Method
stream_events
用于驱动一次完整的简历 Agent SSE 事件流。
backend/app/services/agent/resume_agent_stream_service.py:28
↓ 1 callers
Function
strict_tool_params_schema
用于生成 OpenAI Agents SDK strict function tool 参数 schema。
backend/app/runtime/openai_agents_tools.py:20
↓ 1 callers
Function
stringList
(value: unknown)
frontend/src/hooks/streamingViewState.ts:94
↓ 1 callers
Function
stringifyLogValue
(value: unknown)
frontend/src/app/api/client-log/route.ts:6
↓ 1 callers
Function
stripLocaleFromPath
(path: string)
frontend/src/app/[locale]/login/page.tsx:36
↓ 1 callers
Function
stripLocalePrefix
(pathname: string)
frontend/src/proxy.ts:125
↓ 1 callers
Function
submitCustomAnswer
()
frontend/src/components/editor/UserInputRequestCard.tsx:41
↓ 1 callers
Function
summarizeRenderedToolEvents
(events: StreamEvent[])
frontend/src/components/editor/AgentStreamEventList.tsx:67
↓ 1 callers
Function
summarize_eval
用于汇总 Resume Agent 离线评测结果。
eval/build_evidence_report.py:62
↓ 1 callers
Function
summarize_eval_analysis
用于汇总新版确定性 eval analysis 输出。
eval/build_evidence_report.py:172
↓ 1 callers
Function
summarize_failure_taxonomy
用于汇总failuretaxonomy。
eval/analyze_results.py:691
↓ 1 callers
Function
summarize_interview_metrics
用于读取结构化面试链路指标脚本的输出。
eval/build_evidence_report.py:338
↓ 1 callers
Function
summarize_llm_judge
用于汇总llmjudge。
eval/analyze_results.py:743
↓ 1 callers
Function
summarize_manual_metrics
用于读取手工补充指标,先承接面试链路等未自动化指标。
eval/build_evidence_report.py:323
↓ 1 callers
Function
summarize_perf
用于汇总生产模式性能测速结果。
eval/build_evidence_report.py:266
↓ 1 callers
Function
summarize_results
用于把逐场结果汇总成证据包可直接消费的统计结构。
eval/measure_interview_pipeline.py:525
↓ 1 callers
Method
summarize_value
用于压缩日志字段值。
backend/app/agents/resume/tool_execution.py:1118
↓ 1 callers
Method
syncPayPalSubscription
(subscriptionId: string)
frontend/src/lib/api.ts:576
↓ 1 callers
Method
text_delta_from_sdk_event
用于从 SDK 原生 stream event 提取模型文本 delta。
backend/app/runtime/openai_agents_adapter.py:414
↓ 1 callers
Function
text_message
用于构造文本 assistant 消息。
backend/evals/run_local.py:308
↓ 1 callers
Function
toSmartFitResult
(result: SmartFitCoreResult)
frontend/src/components/preview/hooks/useSmartFit.ts:31
↓ 1 callers
Method
to_dict
用于把记忆转换成工具返回的稳定字典。
backend/app/tools/resume/memory_tool.py:26
↓ 1 callers
Method
to_prompt_payload
用于把摘要转换成提示词可读 JSON。
backend/app/agents/resume/session.py:25
↓ 1 callers
Function
toggleModuleVisibility
(module: ResumeModule)
frontend/src/components/preview/ResumeLayoutControls.tsx:109
↓ 1 callers
Function
toolCallEventFromPayload
( data: Record<string, unknown>, fallbackToolName: string, )
frontend/src/hooks/streamingEventProtocol.ts:312
↓ 1 callers
Function
toolDecisionFromSsePayload
( data: Record<string, unknown>, fallbackToolName: string, )
frontend/src/hooks/streamingEventProtocol.ts:296
↓ 1 callers
Function
toolFailedEventFromPayload
( data: Record<string, unknown>, fallbackToolName: string, )
frontend/src/hooks/streamingEventProtocol.ts:341
↓ 1 callers
Function
toolInputFromToolCall
(toolCall: unknown)
frontend/src/hooks/streamingEventProtocol.ts:214
↓ 1 callers
Function
toolPendingEventFromPayload
( data: Record<string, unknown>, fallbackToolName: string, )
frontend/src/hooks/streamingEventProtocol.ts:355
↓ 1 callers
Function
toolResultEventFromPayload
( data: Record<string, unknown>, fallbackToolName: string, )
frontend/src/hooks/streamingEventProtocol.ts:327
↓ 1 callers
Function
tool_call_event
用于处理工具调用事件。
backend/app/agents/resume/stream_events.py:355
↓ 1 callers
Method
tool_for_approval
用于按 interruption 工具名查找原始业务工具。
backend/app/runtime/openai_agents_adapter.py:196
↓ 1 callers
Function
tool_input_guardrail
用于创建校验工具参数 JSON 和业务必填字段的 SDK guardrail。
backend/app/runtime/openai_agents_tools.py:41
↓ 1 callers
Function
tool_message
用于构造工具调用 assistant 消息。
backend/evals/run_local.py:313
↓ 1 callers
Function
tool_names
用于从 runtime 结果中提取工具名。
eval/harness.py:125
↓ 1 callers
Function
tool_output_guardrail
用于创建校验业务工具输出格式的 SDK guardrail。
backend/app/runtime/openai_agents_tools.py:77
↓ 1 callers
Method
tool_profile
用于选择当前轮次实际使用的工具 profile。
backend/app/agents/resume/turn_context.py:250
↓ 1 callers
Function
tool_rejected_event
用于处理工具rejected事件。
backend/app/agents/resume/stream_events.py:382
↓ 1 callers
Method
tool_result_details
用于把 JSON 工具输出转换成可读的 details。
backend/app/agents/resume/tool_execution.py:95
↓ 1 callers
Function
tool_result_event
用于处理工具结果事件。
backend/app/agents/resume/stream_events.py:469
↓ 1 callers
Method
tool_result_item
用于构建可回放的工具结果 item。
backend/app/runtime/openai_agents_adapter.py:348
↓ 1 callers
Method
tool_result_terminal_text
用于从终止型工具结果里提取确定性回复文本。
backend/app/agents/resume/agent_loop.py:639
↓ 1 callers
Method
tool_schema
用于把 OpenAI tool schema 参数转为 pi-agent-core schema。
backend/app/agents/resume/turn_context.py:229
↓ 1 callers
Method
touch_session
用于记录一次成功刷新,便于后续排查和审计。
backend/app/services/domain/refresh_session_service.py:62
↓ 1 callers
Method
trace_chunk
用于按配置写入流式 chunk trace。
backend/app/agents/resume/tool_execution.py:1149
↓ 1 callers
Method
trace_llm_request
用于记录 LLM 请求 trace。
backend/app/agents/resume/agent_loop.py:691
↓ 1 callers
Method
trace_tool_result_terminated
用于记录工具结果直接结束 ReAct loop。
backend/app/agents/resume/agent_loop.py:648
↓ 1 callers
Method
trace_unexpected_tool_call
用于记录未暴露工具被模型调用的异常 trace。
backend/app/agents/resume/agent_loop.py:739
↓ 1 callers
Function
turnScore
(turn: InterviewSession['turns'][number], rewrite?: NonNullable<ReportData['answer_rewrites']>[number])
frontend/src/app/[locale]/resume/[id]/interview/page.tsx:897
↓ 1 callers
Method
update
用于记录一次更新调用。
backend/tests/test_resume_agent_visibility_sync.py:17
↓ 1 callers
Function
updateBullet
(workId: string, index: number, value: string)
frontend/src/components/editor/WorkExperienceEditor.tsx:99
↓ 1 callers
Function
updateBullet
(educationId: string, index: number, value: string)
frontend/src/components/editor/EducationEditor.tsx:91
↓ 1 callers
Function
updateBullet
(projectId: string, index: number, value: string)
frontend/src/components/editor/ProjectsEditor.tsx:116
← previous
next →
1,601–1,700 of 2,975, ranked by callers