Skip to content

Commit 359b3ff

Browse files
authored
fix invalid import in build-system-prompt.py (#32)
fixes invalid tokenizer import in build-system-prompt.py
1 parent 1246ff8 commit 359b3ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gpt-oss-mcp-server/build-system-prompt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import datetime
22
import asyncio
33

4-
from gpt_oss.tokenizer import tokenizer
4+
from gpt_oss.tokenizer import get_tokenizer
55

66
from openai_harmony import (
77
Conversation,
@@ -66,6 +66,7 @@ def post_process_tools_description(
6666

6767
return list_tools_result
6868

69+
tokenizer = get_tokenizer()
6970

7071
tools_urls = [
7172
"http://localhost:8001/sse", # browser

0 commit comments

Comments
 (0)