mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
Correct bad URL in token_counter
This commit is contained in:
parent
a221d1c418
commit
356ff8926e
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ def count_message_tokens(messages, model="gpt-3.5-turbo-0125"):
|
|||
else:
|
||||
raise NotImplementedError(
|
||||
f"num_tokens_from_messages() is not implemented for model {model}. "
|
||||
f"See https://github.com/openai/openai-python/blob/main/chatml.md "
|
||||
f"See https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken "
|
||||
f"for information on how messages are converted to tokens."
|
||||
)
|
||||
num_tokens = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue