MCPcopy Create free account
hub / github.com/Louisym/MiniCC / with_os

Method with_os

tutorials/18_design_patterns_for_agents.py:415–418  ·  view source on GitHub ↗
(self, name: str, version: str)

Source from the content-addressed store, hash-verified

413 # 对应 prompt.rs:108-113
414 # pub fn with_os(mut self, name, version) -> Self { ... self }
415 def with_os(self, name: str, version: str) -> SystemPromptBuilder:
416 self._os_name = name
417 self._os_version = version
418 return self # 返回 self → 支持链式调用
419
420 # 对应 prompt.rs:101-106
421 def with_style(self, name: str, prompt: str) -> SystemPromptBuilder:

Callers 1

lesson_3_builder_patternFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected