Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetaGPT ollama configuration new parameter request #1254

Open
snapo opened this issue May 8, 2024 · 1 comment
Open

MetaGPT ollama configuration new parameter request #1254

snapo opened this issue May 8, 2024 · 1 comment
Assignees

Comments

@snapo
Copy link

snapo commented May 8, 2024

Some of the new llama3 models have extended rope max token size limits that have to be sent with the original http request to adjust.

image

would it be possible to add to the configfile a new parameter to set the max token to a integer value?

for example something like this:

llm:
  api_type: "ollama"  # or azure / ollama / open_llm etc. Check LLMType for more options
  model: "dolphin-llama3:8b-256k-v2.9-q4_0"  # or gpt-3.5-turbo-1106 / gpt-4-1106-preview
  base_url: "http://snabox:11434/api"  # or forward url / other llm url
  num_token: 64000 # <--- new setting that gets sent with the HTTP request so ollama knows the max token size possible

@geekan
Copy link
Owner

geekan commented May 18, 2024

@better629 Could you take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants